#include <apitest.h>
#include <windef.h>
#include <winbase.h>
#include <dsrole.h>
Go to the source code of this file.
◆ WIN32_NO_STATUS
◆ START_TEST()
Definition at line 16 of file DsRoleGetPrimaryDomainInformation.c.
17{
20
21
23 ok(dwErrorCode ==
ERROR_SUCCESS,
"DsRoleGetPrimaryDomainInformation returns %lu!\n", dwErrorCode);
25 {
26 skip(
"pInfo is NULL\n");
27 return;
28 }
29
32}
@ DsRole_RolePrimaryDomainController
@ DsRole_RoleStandaloneWorkstation
@ DsRolePrimaryDomainInfoBasic
VOID WINAPI DsRoleFreeMemory(_In_ PVOID Buffer)
DWORD WINAPI DsRoleGetPrimaryDomainInformation(LPCWSTR lpServer, DSROLE_PRIMARY_DOMAIN_INFO_LEVEL InfoLevel, PBYTE *Buffer)
DSROLE_MACHINE_ROLE MachineRole