Desktop Functions: Smart Device Functions:
|
C# Signature:
[return: MarshalAs(UnmanagedType.Bool)] vb Signature:
<DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _ User-Defined Types:None. Notes:MSDN says: If the function fails, the return value is zero. To get extended error information, call GetLastError. Tips & Tricks:Please add some! Sample Code:A wrapper for PostMessage looking for errors:
bool PostMessageSafe( HandleRef hWnd, uint msg, IntPtr wParam, IntPtr lParam ) Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" in the upper right corner and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).
|
|