• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            山寨:不是最好的,是最適合我們的!歡迎體驗(yàn)山寨 中文版MSDN

            Blog @ Blog

            當(dāng)華美的葉片落盡,生命的脈絡(luò)才歷歷可見。 -- 聶魯達(dá)

            常用鏈接

            統(tǒng)計(jì)

            積分與排名

            BBS

            Blog

            Web

            最新評(píng)論

            AfxBeginThread

            于亞杰(281806868) 14:36:55
            AfxBeginThread(Load_Map,(LPVOID *)this,THREAD_PRIORITY_NORMAL,0,0,NULL);
            于亞杰(281806868) 14:37:12
            UINT Load_Map(LPVOID hWnd)
            {
             return 0;
            }
            醬菜Pickle<sunraiing@yahoo.com> 14:39:24
            CWinThread* AfxBeginThread(
               AFX_THREADPROC pfnThreadProc,
               LPVOID pParam,
               int nPriority = THREAD_PRIORITY_NORMAL,
               UINT nStackSize = 0,
               DWORD dwCreateFlags = 0,
               LPSECURITY_ATTRIBUTES lpSecurityAttrs = NULL
            );
            CWinThread* AfxBeginThread(
               CRuntimeClass* pThreadClass,
               int nPriority = THREAD_PRIORITY_NORMAL,
               UINT nStackSize = 0,
               DWORD dwCreateFlags = 0,
               LPSECURITY_ATTRIBUTES lpSecurityAttrs = NULL
            );

            醬菜Pickle<sunraiing@yahoo.com> 14:39:38
            pThreadClass
            The RUNTIME_CLASS of an object derived from CWinThread.

            pParam
            Parameter to be passed to the controlling function as shown in the parameter to the function declaration in pfnThreadProc.

            nPriority
            The desired priority of the thread. If 0, the same priority as the creating thread will be used. For a full list and description of the available priorities, see SetThreadPriority in the Platform SDK.

            nStackSize
            Specifies the size in bytes of the stack for the new thread. If 0, the stack size defaults to the same size stack as the creating thread.

            dwCreateFlags
            Specifies an additional flag that controls the creation of the thread. This flag can contain one of two values:

            CREATE_SUSPENDED   Start the thread with a suspend count of one. Use CREATE_SUSPENDED if you want to initialize any member data of the CWinThread object, such as m_bAutoDelete or any members of your derived class, before the thread starts running. Once your initialization is complete, use CWinThread::ResumeThread to start the thread running. The thread will not execute until CWinThread::ResumeThread is called.

            0   Start the thread immediately after creation.

            lpSecurityAttrs
            Points to a SECURITY_ATTRIBUTES structure that specifies the security attributes for the thread. If NULL, the same security attributes as the creating thread will be used. For more information on this structure, see the Platform SDK.


            醬菜Pickle<sunraiing@yahoo.com> 14:41:06
            CWinThread* AfxBeginThread( AFX_THREADPROC pfnThreadProc,
                    LPVOID pParam,
                    int nPriority = THREAD_PRIORITY_NORMAL,
                    UNT nStackSize = 0,
                    DWORD dwCreateFlags = 0,
                    LPSECURITY_ATTRIBUTES lpSecurityAttrs = NULL
                   );//用于創(chuàng)建工作者線程

            返回值: 一個(gè)指向新線程的線程對(duì)象
            pfnThreadProc : 線程的入口函數(shù),聲明一定要如下: UINT MyThreadFunction( LPVOID pParam );
            pParam : 傳遞入線程的參數(shù),注意它的類型為:LPVOID,所以我們可以傳遞一個(gè)結(jié)構(gòu)體入線程.
            nPriority : 線程的優(yōu)先級(jí),一般設(shè)置為 0 .讓它和主線程具有共同的優(yōu)先級(jí).
            nStackSize : 指定新創(chuàng)建的線程的棧的大小.如果為 0,新創(chuàng)建的線程具有和主線程一樣的大小的棧
            dwCreateFlags : 指定創(chuàng)建線程以后,線程有怎么樣的標(biāo)志.可以指定兩個(gè)值:
            CREATE_SUSPENDED : 線程創(chuàng)建以后,會(huì)處于掛起狀態(tài),真到調(diào)用: ResumeThread
            0 : 創(chuàng)建線程后就開始運(yùn)行.

            posted on 2008-01-30 15:37 isabc 閱讀(856) 評(píng)論(0)  編輯 收藏 引用 所屬分類: VC Function

            廣告信息(免費(fèi)廣告聯(lián)系)

            中文版MSDN:
            歡迎體驗(yàn)

            无夜精品久久久久久| 九九精品99久久久香蕉| 色综合久久综合网观看| 2021久久精品国产99国产精品| 亚洲国产精品无码久久久蜜芽 | 午夜精品久久久内射近拍高清| 国产99久久久国产精免费| 亚洲国产精品婷婷久久| 国产福利电影一区二区三区久久久久成人精品综合 | 久久久久综合网久久| 99久久精品免费看国产| 久久er国产精品免费观看8| 精品久久久久中文字幕一区| 久久中文字幕视频、最近更新 | 精品久久久无码中文字幕天天| 精品视频久久久久| 亚洲精品tv久久久久| 久久国产欧美日韩精品| 波多野结衣中文字幕久久| 97超级碰碰碰碰久久久久| 老司机午夜网站国内精品久久久久久久久 | 国产成人久久精品激情| 久久99国产精品一区二区| 久久99精品久久久久久不卡 | av无码久久久久久不卡网站| 国产99久久九九精品无码| 大香伊人久久精品一区二区| 91精品国产91久久久久福利| 国内精品久久久久久麻豆| 99久久夜色精品国产网站| 久久香蕉国产线看观看99| 久久久久亚洲AV片无码下载蜜桃 | 91麻精品国产91久久久久| 久久久久亚洲AV成人网人人网站| 99久久久国产精品免费无卡顿| 久久99久久99小草精品免视看| 日本久久久久久久久久| 国产精品久久久久…| 久久这里只有精品首页| 99久久免费只有精品国产| 久久无码人妻一区二区三区 |