Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Creates a new work queue.
Syntax
HRESULT MFAllocateWorkQueue(
[out] DWORD *pdwWorkQueue
);
Parameters
[out] pdwWorkQueue
Receives an identifier for the work queue.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The function succeeded. |
|
The application exceeded the maximum number of work queues. |
|
The application did not call MFStartup, or the application has already called MFShutdown. |
Remarks
When you are done using the work queue, call MFUnlockWorkQueue.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | mfapi.h |
| Library | Mfplat.lib |
| DLL | Mfplat.dll |