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

# ProgIDFromCLSID(3w)

## NAME

**ProgIDFromCLSID** (OLE32.@)

## SYNOPSIS

HRESULT ProgIDFromCLSID\
  (\
   REFCLSID  *clsid*,\
   LPOLESTR\* *ppszProgID*\
  )

## DESCRIPTION

Converts a class Id into the respective program **ID**.

## PARAMS

*clsid* **\[In\]**  Class **ID**, as found in registry.

*ppszProgID* **\[Out\]**  Associated ProgID.

## RETURNS

**S\_OK** **E\_OUTOFMEMORY** **REGDB\_E\_CLASSNOTREG** if the given *clsid* has no associated ProgID

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
