• <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>

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

            Blog @ Blog

            當華美的葉片落盡,生命的脈絡才歷歷可見。 -- 聶魯達

            常用鏈接

            統計

            積分與排名

            BBS

            Blog

            Web

            最新評論

            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
                   );//用于創建工作者線程

            返回值: 一個指向新線程的線程對象
            pfnThreadProc : 線程的入口函數,聲明一定要如下: UINT MyThreadFunction( LPVOID pParam );
            pParam : 傳遞入線程的參數,注意它的類型為:LPVOID,所以我們可以傳遞一個結構體入線程.
            nPriority : 線程的優先級,一般設置為 0 .讓它和主線程具有共同的優先級.
            nStackSize : 指定新創建的線程的棧的大小.如果為 0,新創建的線程具有和主線程一樣的大小的棧
            dwCreateFlags : 指定創建線程以后,線程有怎么樣的標志.可以指定兩個值:
            CREATE_SUSPENDED : 線程創建以后,會處于掛起狀態,真到調用: ResumeThread
            0 : 創建線程后就開始運行.

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

            廣告信息(免費廣告聯系)

            中文版MSDN:
            歡迎體驗

            国产精品久久久久AV福利动漫| 久久99国产精品一区二区| 精品欧美一区二区三区久久久| 精品久久久久久中文字幕| 66精品综合久久久久久久| 国产香蕉久久精品综合网| 久久人人爽人人爽人人AV| 久久精品成人国产午夜| 亚洲国产精品综合久久一线| 性欧美大战久久久久久久久 | 亚州日韩精品专区久久久| 久久精品国产亚洲av麻豆蜜芽| 国内精品久久国产大陆| 国产精品久久久久久久人人看 | 伊人久久综合热线大杳蕉下载| 久久久精品波多野结衣| 精品久久久久久国产潘金莲 | 久久精品一区二区| 国产99久久久国产精品小说| 久久精品国产亚洲麻豆| 国产亚洲精久久久久久无码77777 国产亚洲精品久久久久秋霞 | 久久久久久久久无码精品亚洲日韩 | 四虎国产永久免费久久| 欧美日韩久久中文字幕| 国产激情久久久久影院| 97精品国产91久久久久久| 国产精品久久新婚兰兰| 欧美久久亚洲精品| 国产精品gz久久久| 热久久这里只有精品| 麻豆成人久久精品二区三区免费 | 久久无码av三级| 久久精品国产亚洲AV高清热| 国色天香久久久久久久小说| 日韩欧美亚洲综合久久影院Ds | 18禁黄久久久AAA片| 久久最新免费视频| 久久亚洲国产精品五月天婷| 国产精品伊人久久伊人电影| 国产免费久久精品丫丫| 国产精品免费久久久久电影网|