Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 800 Bytes

SHRegCloseUSKey.md

File metadata and controls

41 lines (28 loc) · 800 Bytes

Home

Function name : SHRegCloseUSKey

Group: Registry - Library: shlwapi


Closes a handle to a user-specific registry key.


Code examples:

Enumerating the subkeys of a user-specific key

Declaration:

DWORD SHRegCloseUSKey(
    HUSKEY hUSKey,
);  

FoxPro declaration:

DECLARE INTEGER SHRegCloseUSKey IN shlwapi;
	INTEGER hUSKey  

Parameters:

hUSKey Handle to a user-specific key that is currently open.


Return value:

Returns 0 (ERROR_SUCCESS) if successful, or a nonzero error code defined in Winerror.h otherwise.