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

# GetActiveObject(3w)

## NAME

**GetActiveObject** (OLEAUT32.35)

## SYNOPSIS

HRESULT GetActiveObject\
  (\
   REFCLSID   *rcid*,\
   LPVOID     *preserved*,\
   LPUNKNOWN\* *ppunk*\
  )

## DESCRIPTION

Gets an object from the global item table.

## PARAMS

*rcid* **\[In\]**  **CLSID** of the object.

*preserved* **\[In\]**  Reserved. Set to **NULL**.

*ppunk* **\[Out\]**  Address to store object into.

## RETURNS

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

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

## IMPLEMENTATION

Declared in **"oleauto.h"**.

Implemented in **"dlls/oleaut32/oleaut.c"**.

Debug channel **"ole"**.
