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