ShellExecute function shell32
Performs an operation on a specified file.
To learn more, see learn.microsoft.com/windows/win32/api/shellapi/nf-shellapi-shellexecutew.
Implementation
@pragma('vm:prefer-inline')
HINSTANCE ShellExecute(
HWND? hwnd,
PCWSTR? lpOperation,
PCWSTR lpFile,
PCWSTR? lpParameters,
PCWSTR? lpDirectory,
SHOW_WINDOW_CMD nShowCmd,
) => HINSTANCE(
_ShellExecute(
hwnd ?? nullptr,
lpOperation ?? nullptr,
lpFile,
lpParameters ?? nullptr,
lpDirectory ?? nullptr,
nShowCmd,
),
);