<Return[UV]><Top>

UnregisterHotKey

Declare Function Api_UnregisterHotKey& Lib "user32" Alias "UnregisterHotKey" (ByVal hWnd&, ByVal id&)

Declare Function UnregisterHotKey Lib "user32" Alias "UnregisterHotKey" (ByVal hwnd As Long, ByVal id As Long) As Long

パラメータ
hWnd
    [入力]破棄したいホットキーに関連付けられているウィンドウのハンドルを指定する。

    ホットキーがどのウィンドウにも関連付けられていない場合、このパラメータには NULL を指定する。
id
    [入力]破棄したいホットキーの識別子を指定する。
 

戻り値
    関数が成功すると、0 以外の値が返る。
    関数が失敗すると、0 が返る。拡張エラー情報を取得するには、GetLastError 関数を使う。