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

# CoRegisterPSClsid(3w)

## NAME

**CoRegisterPSClsid** (OLE32.@)

## SYNOPSIS

HRESULT CoRegisterPSClsid\
  (\
   REFIID   *riid*,\
   REFCLSID *rclsid*\
  )

## DESCRIPTION

Register a proxy/stub **CLSID** for the given interface in the current process only.

## PARAMS

*riid* **\[In\]**  Interface whose proxy/stub **CLSID** is to be registered.

*rclsid* **\[In\]**  **CLSID** of the proxy/stub.

## RETURNS

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

**Failure:** **E\_OUTOFMEMORY**.

## NOTES

This function does not add anything to the registry and the effects are limited to the lifetime of the current process.

## SEE ALSO

CoGetPSClsid.

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
