MFASYNC_WORKQUEUE_TYPE enumeration (mfapi.h)
Specifies the type of work queue for the MFAllocateWorkQueueEx function to create.
Syntax
typedef enum {
MF_STANDARD_WORKQUEUE = 0,
MF_WINDOW_WORKQUEUE = 1,
MF_MULTITHREADED_WORKQUEUE = 2
} MFASYNC_WORKQUEUE_TYPE;
Constants
MF_STANDARD_WORKQUEUE Value: 0 Create a work queue without a message loop. |
MF_WINDOW_WORKQUEUE Value: 1 Create a work queue with a message loop. |
MF_MULTITHREADED_WORKQUEUE Value: 2 Create a multithreaded work queue. This type of work queue uses a thread pool to dispatch work items. The caller is responsible for serializing the work items. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | mfapi.h |