Last change
on this file since 1167 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
886 bytes
|
Line | |
---|
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_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.