Parses a commandline to launch various system dialogs
Syntax
void WINAPI SHHelpShortcuts_RunDLL (
HWND hwndParent,
HINSTANCE unusedHinstance,
LPCSTR commandLine,
int unusedInt
)
Parameters
- hwndParent
- Handle to a window to use as the dialogs parent
- unusedHinstance
- Not used
- commandLine
- Command line to parse
- unusedInt
- Not used
Return Value
None
Remarks
The commandLine parameter can be one of:
AddPrinter - Opens "Add Printer" dialog PrintersFolder - Opens "Control Panel\Printers" FontsFolder - Opens %windir%\Fonts Connect - Opens "Map Network Drive" dialog Disconnect - Starts the network resource disconnect dialogThe string comparison is case-sensitive
This function is also exported as SHHelpShortcuts_RunDLLA