NAME

CoImpersonateClient  (OLE32.@)

SYNOPSIS

 HRESULT CoImpersonateClient
 (
 )

DESCRIPTION

Impersonates the client of the currently executing server call in the current thread.

PARAMS

None.

RETURNS

Success: S_OK.

Failure: HRESULT code.

NOTES

If this function fails then the current thread will not be impersonating the client and all actions will take place on behalf of the server. Therefore, it is important to check the return value from this function.

SEE ALSO

CoRevertToSelf, CoQueryClientBlanket, CoGetCallContext.

IMPLEMENTATION

Defined in "objbase.h".

Implemented in "dlls/ole32/compobj.c". source.winehq.org/source/dlls/ole32/compobj.c

Debug channel "ole".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.