IMFRealTimeClient::RegisterThreads method (mfidl.h)
Notifies the object to register its worker threads with the Multimedia Class Scheduler Service (MMCSS).
Syntax
HRESULT RegisterThreads(
[in] DWORD dwTaskIndex,
[in] LPCWSTR wszClass
);
Parameters
[in] dwTaskIndex
The MMCSS task identifier.
[in] wszClass
The name of the MMCSS task.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The object's worker threads should register themselves with MMCSS by calling AvSetMmThreadCharacteristics, using the task name and identifier specified in this method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfuuid.lib |