mirror of
https://github.com/reactos/reactos.git
synced 2024-10-18 23:18:56 +00:00
[NETAPI32_APITEST]
Fix GCC build svn path=/trunk/; revision=75209
This commit is contained in:
parent
e5654cce9f
commit
ef0ae276af
|
@ -20,7 +20,7 @@ START_TEST(DsRoleGetPrimaryDomainInformation)
|
||||||
// Get information about the domain membership of this computer.
|
// Get information about the domain membership of this computer.
|
||||||
dwErrorCode = DsRoleGetPrimaryDomainInformation(NULL, DsRolePrimaryDomainInfoBasic, (PBYTE*)&pInfo);
|
dwErrorCode = DsRoleGetPrimaryDomainInformation(NULL, DsRolePrimaryDomainInfoBasic, (PBYTE*)&pInfo);
|
||||||
ok(dwErrorCode == ERROR_SUCCESS, "DsRoleGetPrimaryDomainInformation returns %lu!\n", dwErrorCode);
|
ok(dwErrorCode == ERROR_SUCCESS, "DsRoleGetPrimaryDomainInformation returns %lu!\n", dwErrorCode);
|
||||||
ok(pInfo->MachineRole >= DsRole_RoleStandaloneWorkstation && pInfo->MachineRole <= DsRole_RolePrimaryDomainController, "pInfo->MachineRole is %lu!\n", pInfo->MachineRole);
|
ok(pInfo->MachineRole >= DsRole_RoleStandaloneWorkstation && pInfo->MachineRole <= DsRole_RolePrimaryDomainController, "pInfo->MachineRole is %u!\n", pInfo->MachineRole);
|
||||||
|
|
||||||
if (pInfo)
|
if (pInfo)
|
||||||
DsRoleFreeMemory(pInfo);
|
DsRoleFreeMemory(pInfo);
|
||||||
|
|
Loading…
Reference in a new issue