method EnableWindow.
Enables or disables a target window.
|
hWnd
[in] . Handle
of the target window.
-1 for console window
(DOS)
enable_or_disable
[in] . 0
(disable) or 1 (enable)
S_OK
The operation was successfull.
E_UNEXPECTED
An unexpected error occoured.
E_FAIL
A general error occoured.