IDirectPlay8ThreadPool Interface

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

IDirectPlay8ThreadPool Interface


Applications use the methods of the IDirectPlay8ThreadPool interface to manage threads in a Microsoft® DirectPlay® application.

IDirectPlay8ThreadPool Members

Close Closes the IDirectPlay8ThreadPool object.
DoWork Performs work that is currently scheduled.
GetThreadCount Retrieves the number of threads for the specified processor or all processors.
Initialize Initializes the thread pool interface for the process.
SetThreadCount Changes the number of threads for a specified processor or all processors.

Remarks

The serial and modem service providers do not support the IDirectPlay8ThreadPool interface. Therefore, if you use these service providers, you must handle multithreaded callbacks from threads that did not generate a DPN_MSGID_CREATE_THREAD message when created.

DirectPlay Voice uses a different set of threads to perform audio capture, playback, and message notification. If you use the IDirectPlayVoiceClient or IDirectPlayVoiceServer interface, you must handle multithreaded callbacks from threads that did not generate a DPN_MSGID_CREATE_THREAD message when created.

Interface Information

Inherits fromIUnknown
Headerdplay8.h
Minimum operating systems Windows 98

© 2003 Microsoft Corporation. All rights reserved.