RegisterOCX.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

RegisterOCX (ADVPACK.@)

SYNOPSIS

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

DESCRIPTION

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 dll RegisterServer and dll Install. 'N' Only call dll Install. param - Command line passed to dll Install.

IMPLEMENTATION

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

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

Debug channel "advpack".