OSDN Git Service

post WM_NULL to attached threads on yamy exit to unmap mayu{32,64}.dll
[yamy/yamy.git] / hook.h
diff --git a/hook.h b/hook.h
index 22f8cd8..a7e3294 100644 (file)
--- a/hook.h
+++ b/hook.h
@@ -35,6 +35,7 @@ struct Notify {
                Type_name,                                      /// NotifySetFocus\r
                Type_lockState,                         /// NotifyLockState\r
                Type_sync,                                      /// Notify\r
+               Type_threadAttach,                              /// NotifyThreadAttach\r
                Type_threadDetach,                              /// NotifyThreadDetach\r
                Type_command64,                         /// NotifyCommand64\r
                Type_command32,                         /// NotifyCommand32\r
@@ -67,6 +68,12 @@ struct NotifyLockState : public Notify {
 \r
 \r
 ///\r
+struct NotifyThreadAttach : public Notify {\r
+       DWORD m_threadId;                               ///\r
+};\r
+\r
+\r
+///\r
 struct NotifyThreadDetach : public Notify {\r
        DWORD m_threadId;                               ///\r
 };\r