.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH HMETAFILE_UserSize 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBHMETAFILE_UserSize\fR (OLE32.@) .SH SYNOPSIS ULONG __RPC_USER HMETAFILE_UserSize ( ULONG* \fIpFlags\fR, ULONG \fIStartingSize\fR, HMETAFILE* \fIphmf\fR ) .SH DESCRIPTION .PP Calculates the buffer size required to marshal a metafile. .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 \fIphmf\fR \fB[In]\fR Metafile to size. .PP .SH RETURNS .PP The buffer size required to marshal a metafile 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 Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/ole32/usrmarshal.c"\fR. .PP Debug channel \fB"ole"\fR.