.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CoInitialize 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCoInitialize\fR (OLE32.@) .SH SYNOPSIS HRESULT CoInitialize ( LPVOID \fIlpReserved\fR ) .SH DESCRIPTION .PP Initializes the \fBCOM\fR libraries by calling CoInitializeEx with \fBCOINIT_APARTMENTTHREADED\fR, ie it enters a \fBSTA\fR thread. .SH PARAMS \fIlpReserved\fR \fB[In]\fR Pointer to \fBIMalloc\fR interface (obsolete, should be \fBNULL\fR). .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR if not already initialized, \fBS_FALSE\fR otherwise. .PP \fBFailure:\fR \fBHRESULT\fR code. .SH SEE ALSO .PP CoInitializeEx .SH IMPLEMENTATION .PP Declared in \fB"compobj_private.h"\fR. .PP Implemented in \fB"dlls/ole32/compobj.c"\fR. .PP Debug channel \fB"ole"\fR.