Commit ab68238a authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advpack: Fix the documentation for RegisterOCX.

parent 940af1b4
...@@ -400,7 +400,7 @@ HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF, ...@@ -400,7 +400,7 @@ HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF,
* PARAMS * PARAMS
* hWnd [I] Handle to the window used for the display. * hWnd [I] Handle to the window used for the display.
* hInst [I] Instance of the process. * hInst [I] Instance of the process.
* cmdline [I] Contains parameters in the order OCX,reboot,install_cmd * cmdline [I] Contains parameters in the order OCX,flags,param.
* show [I] How the window should be shown. * show [I] How the window should be shown.
* *
* RETURNS * RETURNS
...@@ -409,10 +409,10 @@ HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF, ...@@ -409,10 +409,10 @@ HRESULT WINAPI RebootCheckOnInstallW(HWND hWnd, LPCWSTR pszINF,
* *
* NOTES * NOTES
* OCX - Filename of the OCX to register. * OCX - Filename of the OCX to register.
* reboot - smart reboot behavior * flags - Controls the operation of RegisterOCX.
* 'I' Reboot if needed. * 'I' Call DllRegisterServer and DllInstall.
* 'N' No reboot. * 'N' Only call DllInstall.
* install_cmd - Command line to pass to the OCX's DllInstall. * param - Command line passed to DllInstall.
*/ */
HRESULT WINAPI RegisterOCX(HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show) HRESULT WINAPI RegisterOCX(HWND hWnd, HINSTANCE hInst, LPCSTR cmdline, INT show)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment