Syntax
Parameters
user   _In_Type: XUserHandle A handle to the user to check the status of. isGuest   _Out_
Type: bool* Contains true if the user is a guest, false otherwise.
Return value
Type: HRESULT success or error code.For a list of error codes, see Error Codes.
