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

# HDC\_UserFree(3w)

## NAME

**HDC\_UserFree** (OLE32.@)

## SYNOPSIS

void \_\_RPC\_USER  HDC\_UserFree\
  (\
   ULONG\* *pFlags*,\
   HDC\*   *phdc*\
  )

## DESCRIPTION

Frees an unmarshaled **HDC**.

## PARAMS

*pFlags* **\[In\]**  Flags. See notes.

*phdc* **\[In\]**  **HDC** to free.

## RETURNS

The end of the marshaled data in the buffer.

## NOTES

Even though the function is documented to take a pointer to a **ULONG** in *pFlags*, it actually takes a pointer to a **USER\_MARSHAL\_CB** structure, of which the first parameter is a **ULONG**. This function is only intended to be called by the **RPC** runtime.

## IMPLEMENTATION

Declared in **"mlang.h"**.

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

Debug channel **"ole"**.
