.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RegisterOCX 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRegisterOCX\fR (ADVPACK.@) .SH SYNOPSIS HRESULT RegisterOCX ( HWND \fIhWnd\fR, HINSTANCE \fIhInst\fR, LPCSTR \fIcmdline\fR, INT \fIshow\fR ) .SH DESCRIPTION .PP Registers an \fBOCX\fR. .SH PARAMS \fIhWnd\fR \fB[In]\fR Handle to the window used for the display. .PP \fIhInst\fR \fB[In]\fR Instance of the process. .PP \fIcmdline\fR \fB[In]\fR Contains parameters in the order \fBOCX\fR,flags,param. .PP \fIshow\fR \fB[In]\fR How the window should be shown. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR. .PP \fBFailure:\fR \fBE_FAIL\fR. .SH NOTES .PP \fBOCX\fR \fB-\fR Filename of the \fBOCX\fR to register. flags \fB-\fR Controls the operation of RegisterOCX. \fB'I'\fR Call DllRegisterServer and DllInstall. \fB'N'\fR Only call DllInstall. param \fB-\fR Command line passed to DllInstall. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/advpack/advpack.c"\fR. .PP Debug channel \fB"advpack"\fR.