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

# CoGetCurrentProcess(3w)

## NAME

**CoGetCurrentProcess** (OLE32.@)

## SYNOPSIS

DWORD CoGetCurrentProcess\
  (\
  )

## DESCRIPTION

Gets the current process **ID**.

## RETURNS

The current process **ID**.

## NOTES

Is **DWORD** really the correct return type for this function?

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
