Desktop Functions: Smart Device Functions:
|
postmessage (user32)
C# Signature:
[DllImport("user32.dll", SetLastError = true)] 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:
int PostMessageSafe( IntPtr hWnd, int msg, int wParam, int lParam ) Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|