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

# RpcRevertToSelfEx(3w)

## NAME

**RpcRevertToSelfEx** (RPCRT4.@)

## SYNOPSIS

RPC\_STATUS RpcRevertToSelfEx\
  (\
   RPC\_BINDING\_HANDLE *BindingHandle*\
  )

## DESCRIPTION

Stops impersonating the client connected to the binding handle so that security checks are no longer done in the context of the client.

## PARAMS

*BindingHandle* **\[In\]**  Handle to the binding to the client.

## RETURNS

**Success:** **RPS\_S\_OK**.

**Failure:** **RPC\_STATUS** value.

## NOTES

If *BindingHandle* is **NULL** then the function stops impersonating the client connected to the binding handle of the current thread.

## IMPLEMENTATION

Declared in **"rpcdce.h"**.

Implemented in **"dlls/rpcrt4/rpc\_binding.c"**.

Debug channel **"rpc"**.
