BoxedApp SDK Help >> 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 __stdcall 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 © Softanics. All rights reserved.
BoxedApp is a trademark of Softanics.