HPALETTE_UserSize function (ocidl.h)

Calculates the wire size of the HPALETTE object and gets its handle and data. (HPALETTE_UserSize)

Syntax

unsigned long HPALETTE_UserSize(
  unsigned long *unnamedParam1,
  unsigned long unnamedParam2,
  HPALETTE      *unnamedParam3
);

Parameters

unnamedParam1

The data used by RPC.

unnamedParam2

The current buffer offset where the object will be marshaled. The method has to account for any padding needed for the HPALETTE object to be properly aligned when it will be marshaled to the buffer.

unnamedParam3

The object.

Return value

A LONG value expressing the size of the object.

Requirements

Requirement Value
Header ocidl.h
DLL ole32.dll