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 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". gitlab.winehq.org/wine/wine/blob/master/dlls/advpack/advpack.c

Debug channel "advpack".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.