BoxedAppSDK_CreateVirtualRegKey
Description
The function creates a virtual registry key. Its arguments are similar to the arguments of the winapi function RegCreateKeyEx.
Syntax
C++
LONG __stdcall BoxedAppSDK_CreateVirtualRegKey(
HKEY hKey,
LPCTSTR lpSubKey,
DWORD Reserved,
LPCTSTR 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;
function BoxedAppSDK_CreateVirtualRegKeyA(
hKey: HKEY;
lpSubKey: PAnsiChar;
Reserved: DWORD;
lpClass: PAnsiChar;
dwOptions: DWORD;
samDesired: REGSAM;
lpSecurityAttributes: PSecurityAttributes;
var phkResult: HKEY;
lpdwDisposition: PDWORD): Longint; stdcall;
function BoxedAppSDK_CreateVirtualRegKeyW(
hKey: HKEY;
lpSubKey: PWideChar;
Reserved: DWORD;
lpClass: PWideChar;
dwOptions: DWORD;
samDesired: REGSAM;
lpSecurityAttributes: PSecurityAttributes;
var phkResult: HKEY;
lpdwDisposition: PDWORD): Longint; stdcall;