ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/dispatcherqueue.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 886 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6
7 #ifndef _DISPATCHERQUEUE_H_
8 #define _DISPATCHERQUEUE_H_
9
10 #include <windows.system.h>
11
12 enum DISPATCHERQUEUE_THREAD_APARTMENTTYPE {
13 DQTAT_COM_NONE = 0,
14 DQTAT_COM_ASTA = 1,
15 DQTAT_COM_STA = 2
16 };
17
18 enum DISPATCHERQUEUE_THREAD_TYPE {
19 DQTYPE_THREAD_DEDICATED = 1,
20 DQTYPE_THREAD_CURRENT = 2
21 };
22
23 struct DispatcherQueueOptions {
24 DWORD dwSize;
25 DISPATCHERQUEUE_THREAD_TYPE threadType;
26 DISPATCHERQUEUE_THREAD_APARTMENTTYPE apartmentType;
27 };
28
29 EXTERN_C HRESULT WINAPI CreateDispatcherQueueController(DispatcherQueueOptions,ABI::Windows::System::IDispatcherQueueController**);
30
31 #endif /* _DISPATCHERQUEUE_H_ */