ShellExecute function shell32
Performs an operation on a specified file.
HINSTANCE ShellExecuteW(
HWND hwnd,
LPCWSTR lpOperation,
LPCWSTR lpFile,
LPCWSTR lpParameters,
LPCWSTR lpDirectory,
INT nShowCmd
);
Implementation
int ShellExecute(
int hwnd,
Pointer<Utf16> lpOperation,
Pointer<Utf16> lpFile,
Pointer<Utf16> lpParameters,
Pointer<Utf16> lpDirectory,
int nShowCmd,
) => _ShellExecute(
hwnd,
lpOperation,
lpFile,
lpParameters,
lpDirectory,
nShowCmd,
);