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