DirectPlay DirectPlay C/C++ ·¹ÆÛ·±½º ÀÎÅÍÆäÀ̽º IDirectPlay8ThreadPool GetThreadCount   [¸ñÂ÷¿­¶÷] [ÁÖ¼Òº¹»ç] [½½·Ôºñ¿ì±â]
IDirectPlay8ThreadPool::GetThreadCount ¸Þ¼­µå
 
Microsoft DirectX 9.0

IDirectPlay8ThreadPool::GetThreadCount ¸Þ¼­µå


ÁöÁ¤ÇÑ ÇÁ·Î¼¼¼­ ¶Ç´Â ¸ðµç ÇÁ·Î¼¼¼­ÀÇ thread¼ö¸¦ ¾ò¾î¿Â´Ù.

±¸¹®

HRESULT GetThreadCount(      

    const DWORD dwProcessorNum,     DWORD *const pdwNumThreads,     const DWORD dwFlags );

ÆÄ¶ó¹ÌÅÍ

dwProcessorNum
[in] ÇÁ·Î¼¼¼­¼ö¸¦ ÁöÁ¤ÇÑ´Ù. ¸ðµç ÇÁ·Î¼¼¼­ÀÇ thread¼ö¸¦ ¾ò¾î¿À·Á¸é,-1 À» ¼³Á¤ÇÑ´Ù.
pdwNumThreads
[out] dwProcessorNum ·Î ÁöÁ¤µÈ ÇÁ·Î¼¼¼­¿¡ ´ëÇÑ ÇöÀçÀÇ threadÀÇ ¼ö¸¦ ¾ò¾î¿Â´Ù.
dwFlags
[in] ¿¹¾àÀÌ ³¡³­ »óÅÂ. 0 ÀÌ ¾Æ´Ï¸é ¾ÈµÈ´Ù.

¹Ýȯ°ª

¼º°øÇßÀ» °æ¿ì´Â DPN_OK ¸¦ µ¹·ÁÁØ´Ù. ±× ÀÌ¿ÜÀÇ °æ¿ì, ´ÙÀ½ÀÇ ¸î°³ÀÇ ¿¡·¯¸¦ µ¹·ÁÁØ´Ù.

DPNERR_UNINITIALIZED¿ä±¸µÈ °³Ã¼°¡ ÃʱâÈ­µÇÁö ¾Ê´Ù.
DPNERR_INVALIDFLAGSÀÌ ¸Þ¼­µå¿¡ °Ç³×Áø Ç÷¡±×´Â ¹«È¿ÀÌ´Ù.
DPNERR_INVALIDPARAM¸Þ¼­µå¿¡ °Ç³×Áø 1 °³ ȤÀº º¹¼öÀÇ ÆÄ¶ó¹ÌÅͰ¡ ¹«È¿ÀÌ´Ù.




© 2002 Microsoft Corporation. All rights reserved.
¡èTOP