diff options
Diffstat (limited to 'plugins/ExternalAPI/m_NewStory.h')
-rw-r--r-- | plugins/ExternalAPI/m_NewStory.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/m_NewStory.h b/plugins/ExternalAPI/m_NewStory.h index 309ac45d60..ad6c7583a9 100644 --- a/plugins/ExternalAPI/m_NewStory.h +++ b/plugins/ExternalAPI/m_NewStory.h @@ -3,6 +3,16 @@ #include <vector> ///////////////////////////////////////////////////////////////////////////////////////// +// NS get current event + +#define MS_NEWSTORY_GETCURRENT "NewStory/GetCurrent" + +__forceinline MEVENT NS_GetCurrent(HANDLE hwnd) +{ + return (MEVENT)CallService(MS_NEWSTORY_GETCURRENT, WPARAM(hwnd), 0); +} + +///////////////////////////////////////////////////////////////////////////////////////// // NS get selection #define MS_NEWSTORY_GETSELECTION "NewStory/GetSelection" |