From ef67375dc143a991c368a425629f3504b520194c Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Wed, 12 Apr 2023 02:02:19 +0530 Subject: [PATCH] headers: Add missing types in dispatcherqueue.h
Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-headers/include/dispatcherqueue.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/dispatcherqueue.h b/mingw-w64-headers/include/dispatcherqueue.h index 040210c..7e4d8b2 100644 --- a/mingw-w64-headers/include/dispatcherqueue.h +++ b/mingw-w64-headers/include/dispatcherqueue.h @@ -9,6 +9,11 @@ #include <windows.system.h> +typedef ABI::Windows::System::IDispatcherQueue *PDISPATCHERQUEUE; +typedef ABI::Windows::System::IDispatcherQueueController *PDISPATCHERQUEUECONTROLLER; + +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) + enum DISPATCHERQUEUE_THREAD_APARTMENTTYPE { DQTAT_COM_NONE = 0, DQTAT_COM_ASTA = 1, @@ -26,6 +31,8 @@ struct DispatcherQueueOptions { DISPATCHERQUEUE_THREAD_APARTMENTTYPE apartmentType; }; -EXTERN_C HRESULT WINAPI CreateDispatcherQueueController(DispatcherQueueOptions,ABI::Windows::System::IDispatcherQueueController**); +EXTERN_C HRESULT WINAPI CreateDispatcherQueueController(DispatcherQueueOptions options, PDISPATCHERQUEUECONTROLLER *dispatcherQueueController); + +#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ #endif /* _DISPATCHERQUEUE_H_ */ -- 2.40.0
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
