Export (0) Print
Expand All

IMFRealTimeClient::RegisterThreads method

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

dwTaskIndex [in]

The MMCSS task identifier.

wszClass [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFRealTimeClient

 

 

Community Additions

ADD
Show:
© 2015 Microsoft