RtlFormatCurrentUserKeyPath function
Applies to: desktop apps only
Initializes the supplied buffer with a string representation of the SID for the current user.
Syntax
NTSTATUS WINAPI RtlFormatCurrentUserKeyPath( __out UNICODE_STRING CurrentUserKeyPath );
Parameters
- CurrentUserKeyPath [out]
-
String that represents the current user's root key in the Registry. Caller must call RtlFreeUnicodeString to free the buffer when done with it.
Return value
Returns STATUS_SUCCESS if the user string was successfully initialized.
Additional NTSTATUS values are defined in NTSTATUS.H, which is distributed with the Windows DDK.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 4/6/2012