Skip to content

Commit 86fdaeb

Browse files
committed
add watch event macro
1 parent dae3598 commit 86fdaeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/gw2al_d3d9_wrapper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ typedef wchar_t* (*pD3D9_wrapper_custom_d3d9_lib_query)();
169169
Triggers after Device->Release() API call execution
170170
171171
*/
172+
#define D3D9_WRAPPER_WATCH_EVENT(subscriber,name,proc,priority) gAPI->watch_event(gAPI->query_event(gAPI->hash_name((wchar_t*)name)), gAPI->hash_name((wchar_t*)subscriber),(gw2al_api_event_handler)&proc, priority)
172173

173174
typedef struct D3D9_wrapper {
174175
pD3D9_wrapper_enable_event enable_event;

0 commit comments

Comments
 (0)