#ifndef _NTSAM_H
_Check_return_
NTSTATUS
NTAPI
SamQueryInformationUser(
_In_ SAM_HANDLE UserHandle,
_In_ USER_INFORMATION_CLASS UserInformationClass,
_Outptr_ PVOID *Buffer
);
View code on GitHub
This function is a wrapper over an RPC method documented in the [MS-SAMR] specification.