---
name: "CoRevertToSelf"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CoRevertToSelf"
---

# CoRevertToSelf(3w)

## NAME

**CoRevertToSelf** (OLE32.@)

## SYNOPSIS

HRESULT CoRevertToSelf\
  (\
  )

## DESCRIPTION

Ends the impersonation of the client of the currently executing server call in the current thread.

## PARAMS

None.

## RETURNS

**Success:** **S\_OK**.

**Failure:** **HRESULT** code.

## SEE ALSO

CoImpersonateClient, CoQueryClientBlanket, CoGetCallContext.

## IMPLEMENTATION

Declared in **"objbase.h"**.

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

Debug channel **"ole"**.
