Group: Remote Application Programming (RAPI) - Library: rapi
Pocket PC: custom RAPI class for operating with the System Registry
LONG CeRegOpenKeyEx(
HKEY hKey,
LPCWSTR lpszSubKey,
DWORD ulOptions,
REGSAM samDesired,
PHKEY phkResult
);
DECLARE INTEGER CeRegOpenKeyEx IN rapi;
INTEGER hKey,;
STRING lpszSubKey,;
INTEGER ulOptions,;
INTEGER samDesired,;
INTEGER @ phkResult
hKey [in] Handle to a currently open key or any of the predefined reserved handle values
lpszSubKey [in] Pointer to a null-terminated string containing the name of the subkey to open.
ulOptions [in] Reserved; set to 0.
samDesired [in] Not supported; set to 0.
phkResult [out] Pointer to a variable that receives a handle to the opened key.
ERROR_SUCCESS (0) indicates success.
When you no longer need the returned handle, call the CeRegCloseKey function to close it.