42 ret = pDsRoleGetPrimaryDomainInformation(
NULL, 0,
NULL);
45 ret = pDsRoleGetPrimaryDomainInformation(
NULL, 4,
NULL);
49 ret = pDsRoleGetPrimaryDomainInformation(
NULL, 4, (
PBYTE *)&dpdi);
63 pDsRoleFreeMemory(dpdi);
68 pDsRoleFreeMemory(dusi);
73 pDsRoleFreeMemory(dosi);
81 pDsRoleGetPrimaryDomainInformation=(
void*)
GetProcAddress(hnetapi32,
"DsRoleGetPrimaryDomainInformation");
82 if (pDsRoleGetPrimaryDomainInformation)
84 pDsRoleFreeMemory=(
void*)
GetProcAddress(hnetapi32,
"DsRoleFreeMemory");
90 win_skip(
"DsRoleGetPrimaryDomainInformation is not available\n");
#define ERROR_INVALID_PARAMETER
#define GetProcAddress(x, y)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
static DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
static void test_get(void)
static void test_params(void)
@ DsRolePrimaryDomainInfoBasic