>>353
レスありがとう。
こんな感じにしますた。
ウィンドウへの通知はブロードキャストに。


if (g_hMouseHook == NULL) result=false;// hook failed
else g_WndCount++;

::CloseHandle( hMutex );

return result;
}