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

            牽著老婆滿街逛

            嚴以律己,寬以待人. 三思而后行.
            GMail/GTalk: yanglinbo#google.com;
            MSN/Email: tx7do#yahoo.com.cn;
            QQ: 3 0 3 3 9 6 9 2 0 .

            DirectInput8Create

            Creates a DirectInput object and returns an IDirectInput8 Interface or later interface.

            				HRESULT 
            				DirectInput8Create(
            				HINSTANCE
            				hinst
            				,
            				DWORD
            				dwVersion
            				,
            				REFIID
            				riidltf
            				,
            				LPVOID *
            				ppvOut
            				,
            				LPUNKNOWN
            				punkOuter
            				);
            		

            Parameters

            hinst
            Instance handle to the application or dynamic-link library (DLL) that is creating the DirectInput object. DirectInput uses this value to determine whether the application or DLL has been certified and to establish any special behaviors that might be necessary for backward compatibility. It is an error for a DLL to pass the handle to the parent application. For example, an Microsoft ActiveX control embedded in a Web page that uses DirectInput must pass its own instance handle, and not the handle to the browser. This ensures that DirectInput recognizes the control and can enable any special behaviors that might be necessary.
            dwVersion
            Version number of DirectInput for which the application is designed. This value is normally DIRECTINPUT_VERSION. If the application defines DIRECTINPUT_VERSION before including Dinput.h, the value must be greater than 0x0800. For earlier versions, use DirectInputCreateEx, which is in Dinput.lib.
            riidltf
            Unique identifier of the desired interface. This value is IID_IDirectInput8A or IID_IDirectInput8W. Passing the IID_IDirectInput8 define selects the ANSI or Unicode version of the interface, depending on whether UNICODE is defined during compilation.
            ppvOut
            Address of a pointer to a variable to receive the interface pointer if the call succeeds.
            punkOuter
            Pointer to the address of the controlling object's IUnknown interface for COM aggregation, or NULL if the interface is not aggregated. Most calling applications pass NULL. If aggregation is requested, the object returned in ppvOut is a pointer to IUnknown, as required by COM aggregation.

            Return Values

            If the function succeeds, the return value is DI_OK. If the function fails, the return value can be one of the following error values: DIERR_BETADIRECTINPUTVERSION, DIERR_INVALIDPARAM, DIERR_OLDDIRECTINPUTVERSION, DIERR_OUTOFMEMORY.

            Remarks

            The DirectInput object created by this function is implemented in Dinput8.dll. Versions of interfaces earlier than DirectX 8.0 cannot be obtained in this implementation.

            To create a DirectX 8.x interface with the latest DirectX SDK without using CoCreateInstance:

            1. Set "#define DIRECTINPUT_VERSION 0x0800" before the include statement for Dinput8.h.
            2. Call DirectInput8Create instead of DirectInputCreateEx.
            3. Link to the Dinput8.lib library instead of Dinput.lib.

            To create a DirectX 8.x interface with the DirectX 8.x SDK without using CoCreateInstance:

            1. Call DirectInput8Create instead of DirectInputCreateEx.
            2. Link to the Dinput8.lib library instead of Dinput.lib.

            To create a DirectX 7.0 interface from the DirectX 8.x or latest DirectX SDK without using CoCreateInstance:

            1. Set "#define DIRECTINPUT_VERSION 0x0700" before the include statement for dinput.h.
            2. Call DirectInputCreateEx instead of DirectInput8Create.
            3. Link to the Dinput.lib library instead of Dinput8.lib.

            To create a DirectX 7.0 interface from the DirectX 8.x or latest DirectX SDK using CoCreateInstance:

            1. Call CoInitializeEx.
            2. Call CoCreateInstance using CLISID_DirectInput.
            3. Use IDirectInput7::Initialize to initialize the DirectInput object.

            To create a DirectX 8.x or DirectX 9.0 interface from the DirectX 8.x or latest DirectX SDK using CoCreateInstance:

            1. Call CoInitializeEx.
            2. Call CoCreateInstance using CLISID_DirectInput8.
            3. Use Initialize to initialize the DirectInput object.

            Calling the function with pUnkOuter = NULL is equivalent to creating the object through CoCreateInstance( &CLSID_DirectInput8, punkOuter, CLSCTX_INPROC_SERVER, &IID_IDirectInput8W, lplpDirectInput), then initializing it with Initialize.

            Calling the function with pUnkOuter != NULL is equivalent to creating the object through CoCreateInstance( &CLSID_DirectInput8, punkOuter, CLSCTX_INPROC_SERVER, &IID_IUnknown, lplpDirectInput). The aggregated object must be initialized manually.

            Requirements

            Header: Declared in Dinput.h.

            posted on 2006-06-20 16:40 楊粼波 閱讀(1540) 評論(0)  編輯 收藏 引用 所屬分類: 文章收藏

            久久夜色精品国产亚洲| 亚洲AV无码成人网站久久精品大| 国产精品美女久久福利网站| 久久免费大片| 欧美大战日韩91综合一区婷婷久久青草| 办公室久久精品| 国产精品激情综合久久| 青青青国产精品国产精品久久久久| 久久青青草原亚洲av无码app| 久久亚洲AV成人出白浆无码国产 | 国产精品久久自在自线观看| 国产∨亚洲V天堂无码久久久| 人妻精品久久无码区| 久久精品中文闷骚内射| 国产午夜福利精品久久| 久久久国产视频| 91久久精一区二区三区大全| 久久最近最新中文字幕大全| 伊人色综合九久久天天蜜桃| 久久精品国产亚洲AV无码麻豆| 国产精品成人99久久久久| 亚洲欧美日韩精品久久亚洲区| 精品熟女少妇av免费久久| 狠狠人妻久久久久久综合| 婷婷久久香蕉五月综合加勒比| 成人a毛片久久免费播放| 久久精品中文字幕一区| 久久国产精品二国产精品| 欧美亚洲色综久久精品国产| 九九久久精品无码专区| 国产精品久久一区二区三区| 久久精品国产欧美日韩99热| 九九久久精品国产| 国产高潮国产高潮久久久91 | 青草国产精品久久久久久 | 亚洲综合伊人久久综合| 国产成人综合久久精品尤物| 久久久久久免费一区二区三区| 国产成人久久精品区一区二区| 99久久夜色精品国产网站| 久久91精品国产91久|