BoxedApp Packer Help >> Plugin API >> Functions

BoxedAppSDK_CreateVirtualRegKey

Description

Creates a virtual registry key. The parameters are the same as in standard winapi RegKeyEx function.

There are ANSI and UNICODE versions (BoxedAppSDK_CreateVirtualRegKeyA and BoxedAppSDK_CreateVirtualRegKeyW).

Syntax

[ C++ ]
LONG BoxedAppSDK_CreateVirtualRegKey(
	HKEY hKey,
	LPCSTR lpSubKey,
	DWORD Reserved,
	LPCSTR lpClass,
	DWORD dwOptions,
	REGSAM samDesired,
	LPSECURITY_ATTRIBUTES lpSecurityAttributes,
	PHKEY phkResult,
	LPDWORD lpdwDisposition
);

[ Delphi ]
function BoxedAppSDK_CreateVirtualRegKey(
         hKey: HKEY;
         lpSubKey: PAnsiChar;
         Reserved: DWORD;
         lpClass: PAnsiChar;
         dwOptions: DWORD;
         samDesired: REGSAM;
         lpSecurityAttributes: PSecurityAttributes;
         var phkResult: HKEY;
         lpdwDisposition: PDWORD): Longint; stdcall;



Copyright © 2004 - 2009 Softanics. All rights reserved.
BoxedApp is a trademark of Softanics.