32 uuid(ac6b7889-0740-4d51-8619-905994a55cc6),
46 uuid(a27003cf-2354-4f2a-8d6a-ab7cff15437e),
57 uuid(63d9255a-7ff1-4b61-8faf-ed6460dacf2b),
67cpp_quote(
"#define RTWQ_E_ERROR(x) ((HRESULT)(0xc00d0000L+x))")
68cpp_quote("
#define RTWQ_E_BUFFERTOOSMALL RTWQ_E_ERROR(14001)")
69cpp_quote("#define RTWQ_E_NOT_INITIALIZED RTWQ_E_ERROR(14006)")
70cpp_quote("#define RTWQ_E_UNEXPECTED RTWQ_E_ERROR(14011)")
71cpp_quote("#define RTWQ_E_NOT_FOUND RTWQ_E_ERROR(14037)")
72cpp_quote("#define RTWQ_E_OPERATION_CANCELLED RTWQ_E_ERROR(14061)")
73cpp_quote("#define RTWQ_E_INVALID_WORKQUEUE RTWQ_E_ERROR(14079)")
74cpp_quote("#define RTWQ_E_SHUTDOWN RTWQ_E_ERROR(16005)")
76cpp_quote("#ifdef __WINESRC__")
77cpp_quote("typedef struct tagRTWQASYNCRESULT")
79cpp_quote(" IRtwqAsyncResult AsyncResult;")
81cpp_quote("typedef struct tagRTWQASYNCRESULT : public IRtwqAsyncResult {")
83cpp_quote(" OVERLAPPED overlapped;")
84cpp_quote(" IRtwqAsyncCallback *pCallback;")
85cpp_quote(" HRESULT hrStatusResult;")
86cpp_quote(" DWORD dwBytesTransferred;")
87cpp_quote(" HANDLE hEvent;")
88cpp_quote("} RTWQASYNCRESULT;")
90cpp_quote("typedef void (WINAPI *RTWQPERIODICCALLBACK)(IUnknown *context);")
92cpp_quote("HRESULT WINAPI RtwqAddPeriodicCallback(RTWQPERIODICCALLBACK callback, IUnknown *context, DWORD *key);")
93cpp_quote("HRESULT WINAPI RtwqAllocateSerialWorkQueue(DWORD target_queue, DWORD *queue);")
94cpp_quote("HRESULT WINAPI RtwqAllocateWorkQueue(RTWQ_WORKQUEUE_TYPE queue_type, DWORD *queue);")
95cpp_quote("HRESULT WINAPI RtwqBeginRegisterWorkQueueWithMMCSS(DWORD queue, const WCHAR *mmcss_class, DWORD taskid, LONG priority, IRtwqAsyncCallback *callback, IUnknown *state);")
96cpp_quote("HRESULT WINAPI RtwqBeginUnregisterWorkQueueWithMMCSS(DWORD queue, IRtwqAsyncCallback *callback, IUnknown *state);")
97cpp_quote("HRESULT WINAPI RtwqCancelDeadline(HANDLE request);")
98cpp_quote("HRESULT WINAPI RtwqCancelWorkItem(RTWQWORKITEM_KEY key);")
99cpp_quote("HRESULT WINAPI RtwqCreateAsyncResult(IUnknown *object, IRtwqAsyncCallback *callback, IUnknown *state, IRtwqAsyncResult **result);")
100cpp_quote("HRESULT WINAPI RtwqEndRegisterWorkQueueWithMMCSS(IRtwqAsyncResult *result, DWORD *taskid);")
101cpp_quote("HRESULT WINAPI RtwqGetWorkQueueMMCSSClass(DWORD queue, WCHAR *mmcss_class, DWORD *length);")
102cpp_quote("HRESULT WINAPI RtwqGetWorkQueueMMCSSPriority(DWORD queue, LONG *priority);")
103cpp_quote("HRESULT WINAPI RtwqGetWorkQueueMMCSSTaskId(DWORD queue, DWORD *taskid);")
104cpp_quote("HRESULT WINAPI RtwqInvokeCallback(IRtwqAsyncResult *result);")
105cpp_quote("HRESULT WINAPI RtwqJoinWorkQueue(DWORD queue, HANDLE hFile, HANDLE *cookie);")
106cpp_quote("HRESULT WINAPI RtwqLockPlatform(void);")
107cpp_quote("HRESULT WINAPI RtwqLockSharedWorkQueue(const WCHAR *usageclass, LONG priority, DWORD *taskid, DWORD *queue);")
108cpp_quote("HRESULT WINAPI RtwqLockWorkQueue(DWORD queue);")
109cpp_quote("HRESULT WINAPI RtwqPutWaitingWorkItem(HANDLE event, LONG priority, IRtwqAsyncResult *result, RTWQWORKITEM_KEY *key);")
110cpp_quote("HRESULT WINAPI RtwqPutWorkItem(DWORD queue, LONG priority, IRtwqAsyncResult *result);")
111cpp_quote("HRESULT WINAPI RtwqRegisterPlatformEvents(IRtwqPlatformEvents *events);")
112cpp_quote("HRESULT WINAPI RtwqRegisterPlatformWithMMCSS(const WCHAR *mmcss_class, DWORD *taskid, LONG priority);")
113cpp_quote("HRESULT WINAPI RtwqRemovePeriodicCallback(DWORD key);")
114cpp_quote("HRESULT WINAPI RtwqScheduleWorkItem(IRtwqAsyncResult *result, INT64 timeout, RTWQWORKITEM_KEY *key);")
115cpp_quote("HRESULT WINAPI RtwqSetDeadline(DWORD queue_id, LONGLONG deadline, HANDLE *request);")
116cpp_quote("HRESULT WINAPI RtwqSetDeadline2(DWORD queue_id, LONGLONG deadline, LONGLONG predeadline, HANDLE *request);")
117cpp_quote("HRESULT WINAPI RtwqSetLongRunning(DWORD queue_id, BOOL enable);")
118cpp_quote("HRESULT WINAPI RtwqShutdown(void);")
119cpp_quote("HRESULT WINAPI RtwqStartup(void);")
120cpp_quote("HRESULT WINAPI RtwqUnjoinWorkQueue(DWORD queue, HANDLE cookie);")
121cpp_quote("HRESULT WINAPI RtwqUnlockPlatform(void);")
122cpp_quote("HRESULT WINAPI RtwqUnlockWorkQueue(DWORD queue);")
123cpp_quote("HRESULT WINAPI RtwqUnregisterPlatformEvents(IRtwqPlatformEvents *events);")
124cpp_quote("HRESULT WINAPI RtwqUnregisterPlatformFromMMCSS(void);")
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
HRESULT GetParameters([out] DWORD *flags, [out] DWORD *queue)
HRESULT Invoke([in] IRtwqAsyncResult *result)
HRESULT GetState([out] IUnknown **state)
HRESULT SetStatus([in] HRESULT status)
IUnknown * GetStateNoAddRef()
HRESULT GetObject([out] IUnknown **object)
@ RTWQ_MULTITHREADED_WORKQUEUE
@ RTWQ_STANDARD_WORKQUEUE
unsigned __int64 RTWQWORKITEM_KEY
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out