.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH HGLOBAL_UserSize 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBHGLOBAL_UserSize\fR (OLE32.@) .SH SYNOPSIS ULONG __RPC_USER HGLOBAL_UserSize ( ULONG* \fIpFlags\fR, ULONG \fIStartingSize\fR, HGLOBAL* \fIphGlobal\fR ) .SH DESCRIPTION .PP Calculates the buffer size required to marshal an \fBHGLOBAL\fR. .SH PARAMS \fIpFlags\fR \fB[In]\fR Flags. See notes. .PP \fIStartingSize\fR \fB[In]\fR Starting size of the buffer. This value is added on to the buffer size required for the clip format. .PP \fIphGlobal\fR \fB[In]\fR \fBHGLOBAL\fR to size. .PP .SH RETURNS .PP The buffer size required to marshal an \fBHGLOBAL\fR plus the starting size. .SH NOTES .PP Even though the function is documented to take a pointer to a \fBULONG\fR in \fIpFlags\fR, it actually takes a pointer to a \fBUSER_MARSHAL_CB\fR structure, of which the first parameter is a \fBULONG\fR. This function is only intended to be called by the \fBRPC\fR runtime. .SH IMPLEMENTATION .PP Declared in \fB"oleidl.h"\fR. .PP Implemented in \fB"dlls/ole32/usrmarshal.c"\fR. .PP Debug channel \fB"ole"\fR.