The following information is provided as is, and the authors take no responsibility for the correctness.
GetClientUserHandle returns a registry key handle for use with the registry functions.
HKEY GetClientUserHandle { REGSAM samDesired }
Parameters
Return Value
GetClientUserHandle returns a handle to an opened registry key where information pertaining to the client user can be stored/retrieved. If the function fails, it returns INVALID_HANDLE_VALUE. To get extended error information, call GetLastError.
Headers
This function is undocumented, and exported by spoolss.dll