IsDialogMessage function Null safety user32
Determines whether a message is intended for the specified dialog box and, if it is, processes the message.
BOOL IsDialogMessageW(
HWND hDlg,
LPMSG lpMsg
);
Implementation
int IsDialogMessage(int hDlg, Pointer<MSG> lpMsg) {
final _IsDialogMessage = _user32.lookupFunction<
Int32 Function(IntPtr hDlg, Pointer<MSG> lpMsg),
int Function(int hDlg, Pointer<MSG> lpMsg)>('IsDialogMessageW');
return _IsDialogMessage(hDlg, lpMsg);
}