CoSetProxyBlanket function ole32
Sets the authentication information that will be used to make calls on the specified proxy. This is a helper function for IClientSecurity::SetBlanket.
HRESULT CoSetProxyBlanket(
IUnknown *pProxy,
DWORD dwAuthnSvc,
DWORD dwAuthzSvc,
OLECHAR *pServerPrincName,
DWORD dwAuthnLevel,
DWORD dwImpLevel,
RPC_AUTH_IDENTITY_HANDLE pAuthInfo,
DWORD dwCapabilities
);
Implementation
int CoSetProxyBlanket(
Pointer<COMObject> pProxy,
int dwAuthnSvc,
int dwAuthzSvc,
Pointer<Utf16> pServerPrincName,
int dwAuthnLevel,
int dwImpLevel,
Pointer pAuthInfo,
int dwCapabilities,
) => _CoSetProxyBlanket(
pProxy,
dwAuthnSvc,
dwAuthzSvc,
pServerPrincName,
dwAuthnLevel,
dwImpLevel,
pAuthInfo,
dwCapabilities,
);