RegisterOCX(3w)

RegisterOCX3w

Usage

HRESULT RegisterOCX
(
HWND hWnd,
HINSTANCE hInst,
LPCSTR cmdline,
INT show
)

Overview

Registers an OCX.

Params

hWnd [In] Handle to the window used for the display.

hInst [In] Instance of the process.

cmdline [In] Contains parameters in the order OCX,flags,param.

show [In] How the window should be shown.

Returns

Success: S_OK.

Failure: E_FAIL.

Notes

OCX - Filename of the OCX to register. flags - Controls the operation of RegisterOCX. 'I' Call DllRegisterServer and DllInstall. 'N' Only call DllInstall. param - Command line passed to DllInstall.

Implementation

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/advpack/advpack.c".

Debug channel "advpack".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.