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

# CLIPFORMAT\_UserSize(3w)

## NAME

**CLIPFORMAT\_UserSize** (OLE32.@)

## SYNOPSIS

ULONG \_\_RPC\_USER  CLIPFORMAT\_UserSize\
  (\
   ULONG\*      *pFlags*,\
   ULONG       *StartingSize*,\
   CLIPFORMAT\* *pCF*\
  )

## DESCRIPTION

Calculates the buffer size required to marshal a clip format.

## PARAMS

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

*StartingSize* **\[In\]**  Starting size of the buffer. This value is added on to the buffer size required for the clip format.

*pCF* **\[In\]**  Clip format to size.

## RETURNS

The buffer size required to marshal a clip format plus the starting size.

## NOTES

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

## IMPLEMENTATION

Declared in **"objidl.h"**.

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

Debug channel **"ole"**.
