995{
996
1001 [
in,
string]
wchar_t *UserName,
1002 [
in,
string]
wchar_t *Workstation,
1004
1005
1010 [
in,
string]
wchar_t *UserName,
1011 [
in,
string]
wchar_t *Workstation,
1013
1014
1019 [
in,
string,
unique]
wchar_t *ComputerName,
1027
1028
1033 [
in,
string,
unique]
wchar_t *ComputerName,
1038
1039
1044 [
in,
string]
wchar_t *ComputerName,
1047
1048
1053 [
in,
string]
wchar_t *AccountName,
1055 [
in,
string]
wchar_t *ComputerName,
1058
1059
1064 [
in,
string]
wchar_t *AccountName,
1066 [
in,
string]
wchar_t *ComputerName,
1070
1071
1076 [
in,
string]
wchar_t *ComputerName,
1082 [
in]
DWORD PreferredMaximumLength);
1083
1084
1089 [
in,
string]
wchar_t *ComputerName,
1095 [
in]
DWORD PreferredMaximumLength);
1096
1097
1102 [
in,
string]
wchar_t * ComputerName,
1113
1114
1119 [
in,
string]
wchar_t *ComputerName,
1130
1131
1136 [
in,
unique,
string]
wchar_t *DomainName,
1138
1139
1147
1148
1153 [
in,
unique,
string]
wchar_t *DomainName,
1155
1156
1165
1166
1171 [
in,
string]
wchar_t *AccountName,
1173 [
in,
string]
wchar_t *ComputerName,
1177
1178
1183 [
in,
string]
wchar_t *ComputerName,
1190 [
in]
DWORD PreferredMaximumLength);
1191
1192
1197 [
in,
string]
wchar_t *ComputerName,
1200 [
in, size_is(ChangeLogEntrySize)]
UCHAR *ChangeLogEntry,
1201 [
in]
DWORD ChangeLogEntrySize,
1203
1204
1213
1214
1220
1221
1226 [
in,
unique,
string]
wchar_t *DomainName,
1231
1232
1237 [
in,
string,
unique]
wchar_t *ComputerName,
1242
1243
1248 [
in]
DWORD ServiceBitsOfInterest,
1250
1251
1256 [
in,
string,
unique]
wchar_t *DomainName,
1258
1259
1267 [
out]
CHAR NewMessageDigest[16],
1268 [
out]
CHAR OldMessageDigest[16]);
1269
1270
1275 [
in,
string,
unique]
wchar_t *DomainName,
1278 [
out]
CHAR NewMessageDigest[16],
1279 [
out]
CHAR OldMessageDigest[16]);
1280
1281
1286 [
in,
string]
wchar_t *AccountName,
1288 [
in,
string]
wchar_t *ComputerName,
1293
1294
1299 [
in,
unique,
string]
wchar_t *DomainName,
1301 [
in,
unique,
string]
wchar_t *SiteName,
1304
1305
1310 [
out,
string]
wchar_t **SiteName);
1311
1312
1317 [
in,
string,
unique]
wchar_t *ComputerName,
1323
1324
1329 [
in,
string]
wchar_t *AccountName,
1331 [
in,
string]
wchar_t *ComputerName,
1335
1336
1341 [
in,
string]
wchar_t *AccountName,
1343 [
in,
string]
wchar_t *ComputerName,
1347
1348
1353 [
in,
string]
wchar_t *ComputerName,
1356 [
in, size_is(OpaqueBufferSize)]
UCHAR *OpaqueBuffer,
1358
1359
1367
1368
1373 [
in,
unique,
string]
wchar_t *AccountName,
1374 [
in]
ULONG AllowableAccountControlBits,
1375 [
in,
unique,
string]
wchar_t *DomainName,
1377 [
in,
unique,
string]
wchar_t *SiteName,
1380
1381
1386 [
out,
string]
wchar_t **DomainName,
1387 [
out]
int *PdcSameSite);
1388
1389
1395
1396
1404
1405
1411
1412
1417 [
in,
unique,
string]
wchar_t *LogonServer,
1418 [
in,
unique,
string]
wchar_t *ComputerName,
1425
1426
1433
1434
1439 [
in,
unique,
string]
wchar_t *DnsDomainName,
1442 [
in,
string]
wchar_t *DnsHostName);
1443
1444
1449 [
in,
string]
wchar_t *AccountName,
1451 [
in,
string]
wchar_t *ComputerName,
1456
1457
1462 [
in,
unique,
string]
wchar_t *TrustedDomainName,
1465
1466
1471 [
in,
string]
wchar_t *ComputerName,
1476
1477
1482 [
in,
string,
unique]
wchar_t *ComputerName,
1491
1492
1497 [
in,
string]
wchar_t *AccountName,
1499 [
in,
string]
wchar_t *ComputerName,
1505}
NTSTATUS __stdcall NetrLogonGetDomainInfo(_In_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ DWORD Level, _In_ PNETLOGON_WORKSTATION_INFORMATION WkstaBuffer, _Out_ PNETLOGON_DOMAIN_INFORMATION DomBuffer)
NTSTATUS __stdcall NetrLogonSamLogonWithFlags(_In_opt_ LOGONSRV_HANDLE LogonServer, _In_opt_ wchar_t *ComputerName, _In_opt_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_opt_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ NETLOGON_LOGON_INFO_CLASS LogonLevel, _In_ PNETLOGON_LEVEL LogonInformation, _In_ NETLOGON_VALIDATION_INFO_CLASS ValidationLevel, _Out_ PNETLOGON_VALIDATION ValidationInformation, _Out_ UCHAR *Authoritative, _Inout_ ULONG *ExtraFlags)
NET_API_STATUS __stdcall NetrLogonComputeClientDigest(_In_opt_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *DomainName, _In_ UCHAR *Message, _In_ ULONG MessageSize, _Out_ CHAR NewMessageDigest[16], _Out_ CHAR OldMessageDigest[16])
NET_API_STATUS __stdcall NetrLogonGetTrustRid(_In_opt_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *DomainName, _Out_ ULONG *Rid)
NTSTATUS __stdcall NetrLogonSetServiceBits(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ DWORD ServiceBitsOfInterest, _In_ DWORD ServiceBits)
NTSTATUS __stdcall NetrDatabaseDeltas(_In_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ DWORD DatabaseID, _Inout_ PNLPR_MODIFIED_COUNT DomainModifiedCount, _Out_ PNETLOGON_DELTA_ENUM_ARRAY *DeltaArray, _In_ DWORD PreferredMaximumLength)
NET_API_STATUS __stdcall NetrLogonControl2Ex(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ DWORD FunctionCode, _In_ DWORD QueryLevel, _In_ PNETLOGON_CONTROL_DATA_INFORMATION Data, _Out_ PNETLOGON_CONTROL_QUERY_INFORMATION Buffer)
NET_API_STATUS __stdcall DsrGetForestTrustInformation(_In_opt_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *TrustedDomainName, _In_ DWORD Flags, _Out_ PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo)
NTSTATUS __stdcall NetrLogonSamLogon(_In_opt_ LOGONSRV_HANDLE LogonServer, _In_opt_ wchar_t *ComputerName, _In_opt_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_opt_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ NETLOGON_LOGON_INFO_CLASS LogonLevel, _In_ PNETLOGON_LEVEL LogonInformation, _In_ NETLOGON_VALIDATION_INFO_CLASS ValidationLevel, _Out_ PNETLOGON_VALIDATION ValidationInformation, _Out_ UCHAR *Authoritative)
NET_API_STATUS __stdcall DsrAddressToSiteNamesW(_In_opt_ LOGONSRV_HANDLE ComputerName, _In_ DWORD EntryCount, _In_ PNL_SOCKET_ADDRESS SocketAddresses, _Out_ PNL_SITE_NAME_ARRAY *SiteNames)
NET_API_STATUS __stdcall NetrLogonControl(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ DWORD FunctionCode, _In_ DWORD QueryLevel, _Out_ PNETLOGON_CONTROL_QUERY_INFORMATION Buffer)
NTSTATUS __stdcall NetrServerPasswordSet2(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Out_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ PNL_TRUST_PASSWORD ClearNewPassword)
NTSTATUS __stdcall NetrEnumerateTrustedDomains(_In_opt_ LOGONSRV_HANDLE ServerName, _Out_ PDOMAIN_NAME_BUFFER DomainNameBuffer)
NTSTATUS __stdcall NetrLogonSendToSam(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Out_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ UCHAR *OpaqueBuffer, _In_ ULONG OpaqueBufferSize)
NET_API_STATUS __stdcall DsrAddressToSiteNamesExW(_In_opt_ LOGONSRV_HANDLE ComputerName, _In_ DWORD EntryCount, _In_ PNL_SOCKET_ADDRESS SocketAddresses, _Out_ PNL_SITE_NAME_EX_ARRAY *SiteNames)
NET_API_STATUS __stdcall DsrGetSiteName(_In_opt_ LOGONSRV_HANDLE ComputerName, _Out_ wchar_t **SiteName)
NTSTATUS __stdcall NetrServerGetTrustInfo(_In_opt_ LOGONSRV_HANDLE TrustedDcName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Out_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _Out_ PENCRYPTED_NT_OWF_PASSWORD EncryptedNewOwfPassword, _Out_ PENCRYPTED_NT_OWF_PASSWORD EncryptedOldOwfPassword, _Out_ PNL_GENERIC_RPC_DATA *TrustInfo)
NTSTATUS __stdcall NetrLogonGetCapabilities(_In_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ DWORD QueryLevel, _Out_ PNETLOGON_CAPABILITIES ServerCapabilities)
NTSTATUS __stdcall NetrGetForestTrustInformation(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Out_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ DWORD Flags, _Out_ PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo)
NTSTATUS __stdcall NetrLogonSamLogoff(_In_opt_ LOGONSRV_HANDLE LogonServer, _In_opt_ wchar_t *ComputerName, _In_opt_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_opt_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ NETLOGON_LOGON_INFO_CLASS LogonLevel, _In_ PNETLOGON_LEVEL LogonInformation)
NTSTATUS __stdcall NetrServerAuthenticate2(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_CREDENTIAL ClientCredential, _Out_ PNETLOGON_CREDENTIAL ServerCredential, _Inout_ ULONG *NegotiateFlags)
NTSTATUS __stdcall NetrAccountSync(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ DWORD Reference, _In_ DWORD Level, _Out_ UCHAR *Buffer, _In_ DWORD BufferSize, _Out_ ULONG *CountReturned, _Out_ ULONG *TotalEntries, _Out_ ULONG *NextReference, _Out_ PUAS_INFO_0 LastRecordId)
NET_API_STATUS __stdcall DsrGetDcSiteCoverageW(_In_opt_ LOGONSRV_HANDLE ServerName, _Out_ PNL_SITE_NAME_ARRAY *SiteNames)
NET_API_STATUS __stdcall NetrLogonUasLogon(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ wchar_t *UserName, _In_ wchar_t *Workstation, _Out_ PNETLOGON_VALIDATION_UAS_INFO *ValidationInformation)
NTSTATUS __stdcall NetrDatabaseRedo(_In_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ UCHAR *ChangeLogEntry, _In_ DWORD ChangeLogEntrySize, _Out_ PNETLOGON_DELTA_ENUM_ARRAY *DeltaArray)
NTSTATUS __stdcall NetrDatabaseSync2(_In_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ DWORD DatabaseID, _In_ SYNC_STATE RestartState, _Inout_ ULONG *SyncContext, _Out_ PNETLOGON_DELTA_ENUM_ARRAY *DeltaArray, _In_ DWORD PreferredMaximumLength)
NET_API_STATUS __stdcall DsrGetDcNameEx(_In_opt_ LOGONSRV_HANDLE ComputerName, _In_opt_ wchar_t *DomainName, _In_opt_ GUID *DomainGuid, _In_opt_ wchar_t *SiteName, _In_ ULONG Flags, _Out_ PDOMAIN_CONTROLLER_INFOW *DomainControllerInfo)
NTSTATUS __stdcall NetrDatabaseSync(_In_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ DWORD DatabaseID, _Inout_ ULONG *SyncContext, _Out_ PNETLOGON_DELTA_ENUM_ARRAY *DeltaArray, _In_ DWORD PreferredMaximumLength)
NET_API_STATUS __stdcall NetrGetDCName(_In_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *DomainName, _Out_ wchar_t **Buffer)
NET_API_STATUS __stdcall NetrLogonComputeServerDigest(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ ULONG Rid, _In_ UCHAR *Message, _In_ ULONG MessageSize, _Out_ CHAR NewMessageDigest[16], _Out_ CHAR OldMessageDigest[16])
NTSTATUS __stdcall NetrServerReqChallenge(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_CREDENTIAL ClientChallenge, _Out_ PNETLOGON_CREDENTIAL ServerChallenge)
NET_API_STATUS __stdcall DsrGetDcNameEx2(_In_opt_ LOGONSRV_HANDLE ComputerName, _In_opt_ wchar_t *AccountName, _In_ ULONG AllowableAccountControlBits, _In_opt_ wchar_t *DomainName, _In_opt_ GUID *DomainGuid, _In_opt_ wchar_t *SiteName, _In_ ULONG Flags, _Out_ PDOMAIN_CONTROLLER_INFOW *DomainControllerInfo)
NET_API_STATUS __stdcall DsrDeregisterDnsHostRecords(_In_opt_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *DnsDomainName, _In_opt_ GUID *DomainGuid, _In_opt_ GUID *DsaGuid, _In_ wchar_t *DnsHostName)
NTSTATUS __stdcall NetrServerAuthenticate(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_CREDENTIAL ClientCredential, _Out_ PNETLOGON_CREDENTIAL ServerCredential)
NTSTATUS __stdcall NetrLogonSamLogonEx(_In_ handle_t ContextHandle, _In_opt_ wchar_t *LogonServer, _In_opt_ wchar_t *ComputerName, _In_ NETLOGON_LOGON_INFO_CLASS LogonLevel, _In_ PNETLOGON_LEVEL LogonInformation, _In_ NETLOGON_VALIDATION_INFO_CLASS ValidationLevel, _Out_ PNETLOGON_VALIDATION ValidationInformation, _Out_ UCHAR *Authoritative, _Inout_ ULONG *ExtraFlags)
NTSTATUS __stdcall NetrServerPasswordGet(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE AccountType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Out_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _Out_ PENCRYPTED_NT_OWF_PASSWORD EncryptedNtOwfPassword)
NET_API_STATUS __stdcall DsrEnumerateDomainTrusts(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ ULONG Flags, _Out_ PNETLOGON_TRUSTED_DOMAIN_ARRAY Domains)
NET_API_STATUS __stdcall NetrLogonControl2(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ DWORD FunctionCode, _In_ DWORD QueryLevel, _In_ PNETLOGON_CONTROL_DATA_INFORMATION Data, _Out_ PNETLOGON_CONTROL_QUERY_INFORMATION Buffer)
NTSTATUS __stdcall NetrServerPasswordSet(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Out_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ PENCRYPTED_NT_OWF_PASSWORD UasNewPassword)
NTSTATUS __stdcall NetrAccountDeltas(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Inout_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _In_ PUAS_INFO_0 RecordId, _In_ DWORD Count, _In_ DWORD Level, _Out_ UCHAR *Buffer, _In_ DWORD BufferSize, _Out_ ULONG *CountReturned, _Out_ ULONG *TotalEntries, _Out_ PUAS_INFO_0 NextRecordId)
NET_API_STATUS __stdcall NetrLogonUasLogoff(_In_opt_ LOGONSRV_HANDLE ServerName, _In_ wchar_t *UserName, _In_ wchar_t *Workstation, _Out_ PNETLOGON_LOGOFF_UAS_INFO LogoffInformation)
NTSTATUS __stdcall NetrServerTrustPasswordsGet(_In_opt_ LOGONSRV_HANDLE TrustedDcName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_AUTHENTICATOR Authenticator, _Out_ PNETLOGON_AUTHENTICATOR ReturnAuthenticator, _Out_ PENCRYPTED_NT_OWF_PASSWORD EncryptedNewOwfPassword, _Out_ PENCRYPTED_NT_OWF_PASSWORD EncryptedOldOwfPassword)
NTSTATUS __stdcall NetrServerAuthenticate3(_In_opt_ LOGONSRV_HANDLE PrimaryName, _In_ wchar_t *AccountName, _In_ NETLOGON_SECURE_CHANNEL_TYPE SecureChannelType, _In_ wchar_t *ComputerName, _In_ PNETLOGON_CREDENTIAL ClientCredential, _Out_ PNETLOGON_CREDENTIAL ServerCredential, _Inout_ ULONG *NegotiateFlags, _Out_ ULONG *AccountRid)
NET_API_STATUS __stdcall DsrGetDcName(_In_opt_ LOGONSRV_HANDLE ComputerName, _In_opt_ wchar_t *DomainName, _In_opt_ GUID *DomainGuid, _In_opt_ GUID *SiteGuid, _In_ ULONG Flags, _Out_ PDOMAIN_CONTROLLER_INFOW *DomainControllerInfo)
NET_API_STATUS __stdcall NetrGetAnyDCName(_In_opt_ LOGONSRV_HANDLE ServerName, _In_opt_ wchar_t *DomainName, _Out_ wchar_t **Buffer)
NET_API_STATUS __stdcall NetrLogonGetTimeServiceParentDomain(_In_opt_ LOGONSRV_HANDLE ServerName, _Out_ wchar_t **DomainName, _Out_ int *PdcSameSite)
NET_API_STATUS __stdcall NetrEnumerateTrustedDomainsEx(_In_opt_ LOGONSRV_HANDLE ServerName, _Out_ PNETLOGON_TRUSTED_DOMAIN_ARRAY Domains)
static const WCHAR Message[]
wchar_t * LOGONSRV_HANDLE
enum _NETLOGON_LOGON_INFO_CLASS NETLOGON_LOGON_INFO_CLASS
static const VARTYPE ExtraFlags[16]
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
_Must_inspect_result_ _In_ ULONG Flags