ShellAbout function Null safety shell32
Displays a ShellAbout dialog box.
INT ShellAboutW(
HWND hWnd,
LPCWSTR szApp,
LPCWSTR szOtherStuff,
HICON hIcon
);
Implementation
int ShellAbout(
int hWnd, Pointer<Utf16> szApp, Pointer<Utf16> szOtherStuff, int hIcon) {
final _ShellAbout = _shell32.lookupFunction<
Int32 Function(IntPtr hWnd, Pointer<Utf16> szApp,
Pointer<Utf16> szOtherStuff, IntPtr hIcon),
int Function(int hWnd, Pointer<Utf16> szApp, Pointer<Utf16> szOtherStuff,
int hIcon)>('ShellAboutW');
return _ShellAbout(hWnd, szApp, szOtherStuff, hIcon);
}