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

# CoCreateGuid(3w)

## NAME

**CoCreateGuid** (OLE32.@)

## SYNOPSIS

HRESULT CoCreateGuid\
  (\
   GUID\* *pguid*\
  )

## DESCRIPTION

Simply forwards to UuidCreate in **RPCRT4**.

## PARAMS

*pguid* **\[Out\]**  Points to the **GUID** to initialize.

## RETURNS

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

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

## SEE ALSO

UuidCreate

## IMPLEMENTATION

Declared in **"compobj\_private.h"**.

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

Debug channel **"ole"**.
