[out,ref] GUID *ipidRemUnknown,
[out,ref] uint32 *AuthnHint,
[out,ref] COMVERSION *ServerVersion,
- [out,ref] WERROR *hr,
+ [out,ref] HRESULT *hr,
[out,size_is(Interfaces)] MInterfacePointer **ifaces,
- [out,size_is(Interfaces)] WERROR results[]
+ [out,size_is(Interfaces)] HRESULT results[]
);
}
struct DUALSTRINGARRAY *pdsaOxidBindings;
uint32_t AuthnHint;
struct COMVERSION ServerVersion;
- WERROR hr;
+ HRESULT hr;
struct MInterfacePointer *ifaces;
status = torture_rpc_connection(tctx, &p,
status = dcerpc_RemoteActivation_r(b, tctx, &r);
torture_assert_ntstatus_ok(tctx, status, "RemoteActivation failed");
torture_assert_werr_ok(tctx, r.out.result, "RemoteActivation failed");
- torture_assert_werr_ok(tctx, *r.out.hr, "RemoteActivation failed");
- torture_assert_werr_ok(tctx, r.out.results[0], "RemoteActivation failed");
+ torture_assert_hresult_ok(tctx, *r.out.hr, "RemoteActivation failed");
+ torture_assert_hresult_ok(tctx, r.out.results[0], "RemoteActivation failed");
return true;
}
struct GUID ipidRemUnknown;
uint32_t AuthnHint;
struct COMVERSION ServerVersion;
- WERROR hr;
+ HRESULT hr;
struct MInterfacePointer *ifaces;
ZERO_STRUCT(r);
torture_assert_werr_ok(tctx, r.out.result, "RemoteActivation");
- torture_assert_werr_ok(tctx, *r.out.hr, "RemoteActivation");
+ torture_assert_hresult_ok(tctx, *r.out.hr, "RemoteActivation");
- torture_assert_werr_ok(tctx, r.out.results[0], "RemoteActivation");
+ torture_assert_hresult_ok(tctx, r.out.results[0], "RemoteActivation");
GUID_from_string(DCERPC_ICLASSFACTORY_UUID, &iids[0]);
r.in.Interfaces = 1;
torture_assert_werr_ok(tctx, r.out.result, "RemoteActivation(GetClassObject)");
- torture_assert_werr_ok(tctx, *r.out.hr, "RemoteActivation(GetClassObject)");
+ torture_assert_hresult_ok(tctx, *r.out.hr, "RemoteActivation(GetClassObject)");
- torture_assert_werr_ok(tctx, r.out.results[0], "RemoteActivation(GetClassObject)");
+ torture_assert_hresult_ok(tctx, r.out.results[0], "RemoteActivation(GetClassObject)");
return true;
}