Reference

CoSetProxyBlanket(3w)

NAME

CoSetProxyBlanket (OLE32.@)

SYNOPSIS

HRESULT CoSetProxyBlanket
(
IUnknown* pProxy,
DWORD AuthnSvc,
DWORD AuthzSvc,
OLECHAR* pServerPrincName,
DWORD AuthnLevel,
DWORD ImpLevel,
void* pAuthInfo,
DWORD Capabilities
)

DESCRIPTION

Sets the security settings for a proxy.

PARAMS

pProxy [In] Pointer to the proxy object.

AuthnSvc [In] The type of authentication service.

AuthzSvc [In] The type of authorization service.

pServerPrincName [In] The server prinicple name.

AuthnLevel [In] The authentication level.

ImpLevel [In] The impersonation level.

pAuthInfo [In] Information specific to the authorization/authentication service.

Capabilities [In] Flags affecting the security behaviour.

RETURNS

Success: S_OK.

Failure: HRESULT code.

SEE ALSO

CoQueryProxyBlanket, CoCopyProxy.

IMPLEMENTATION

Declared in "objbase.h".

Implemented in "dlls/ole32/compobj.c".

Debug channel "ole".

History