From 93fc6d450aa9900f57324c898a91c371704ed901 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 30 Mar 2006 03:52:17 -0600 Subject: [PATCH] advpack: Fix the documentation for the cmdline parameter of LaunchInfSection/Ex. --- dlls/advpack/install.c | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c index c6bc6c5d4c0..417084ea051 100644 --- a/dlls/advpack/install.c +++ b/dlls/advpack/install.c @@ -110,16 +110,22 @@ HRESULT WINAPI ExecuteCabA( HWND hwnd, CABINFOA* pCab, LPVOID pReserved ) * PARAMS * hWnd [I] Handle to parent window, NULL for desktop. * hInst [I] Instance of the process. - * cmdline [I] Contains parameters in the order INF,section,flags. - * show [I] Reboot behaviour: - * 'A' reboot always - * 'I' default, reboot if needed - * 'N' no reboot + * cmdline [I] Contains parameters in the order INF,section,flags,reboot. + * show [I] How the window should be shown. * * RETURNS * Success: S_OK. * Failure: S_FALSE * + * NOTES + * INF - Filename of the INF to launch. + * section - INF section to install. + * flags - see advpub.h. + * reboot - smart reboot behavior + * 'A' Always reboot. + * 'I' Reboot if needed (default). + * 'N' No reboot. + * * BUGS * Unimplemented. */ @@ -137,16 +143,22 @@ INT WINAPI LaunchINFSectionA( HWND hWnd, HINSTANCE hInst, LPSTR cmdline, INT sho * PARAMS * hWnd [I] Handle to parent window, NULL for desktop. * hInst [I] Instance of the process. - * cmdline [I] Contains parameters in the order INF,section,CAB,flags. - * show [I] Reboot behaviour: - * 'A' reboot always - * 'I' default, reboot if needed - * 'N' no reboot + * cmdline [I] Contains parameters in the order INF,section,CAB,flags,reboot. + * show [I] How the window should be shown. * * RETURNS * Success: S_OK. * Failure: E_FAIL. * + * NOTES + * INF - Filename of the INF to launch. + * section - INF section to install. + * flags - see advpub.h. + * reboot - smart reboot behavior + * 'A' Always reboot. + * 'I' Reboot if needed (default). + * 'N' No reboot. + * * BUGS * Unimplemented. */