CloseWindow

機能
ウィンドウの表示・非表示にアニメーション効果を与える
Declare Function CloseWindow Lib "user32.dll"  _
(ByVal hWnd As Long) As Long
Declare Function CloseWindow Lib "user32.dll"  _
(ByVal hWnd As Integer) As Integer

BOOL CloseWindow(
HWND hWnd
);
引数
hWnd

対象のウィンドウのハンドル
戻り値
正常終了のとき  0以外
エラーのとき  0