PostMessage
z.B.
Zitat:
Return Value
Type: BOOL
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
To get extended error information, call GetLastError.
Remarks
When a message is blocked by UIPI the last error, retrieved with GetLastError, is set to 5 (
access denied).
Wenn False, dann mit GetLastError den Grund auslesen.