#ifndef _NTSAM_H
_Check_return_
NTSTATUS
NTAPI
SamConnectWithCreds(
_In_ PUNICODE_STRING ServerName,
_Out_ PSAM_HANDLE ServerHandle,
_In_ ACCESS_MASK DesiredAccess,
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
_In_ PRPC_AUTH_IDENTITY_HANDLE Creds,
_In_ PWCHAR Spn,
_Out_ BOOL* pfDstIsW2K
);
View code on GitHub
No description available.