method CenterWindow.
Centers a target window with the desktop area.
|
hWnd
[in,defaultvalue(-1)]
. Handle of the target window or the console window (DOS)
S_OK
The operation
was successfull.
E_UNEXPECTED
An
unexpected error occoured.
E_FAIL
A general
error occoured.