亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hidsdi.h

?? 一個USB接口資源檢測程序,含USB編程資源,有需要的朋友可以下載來看看,還有我調(diào)試過,絕對可以正常運行
?? H
字號:
/*++

Copyright (c) 1996    Microsoft Corporation

Module Name:

    HIDSDI.H

Abstract:

    This module contains the PUBLIC definitions for the
    code that implements the HID dll.

Environment:

    Kernel & user mode

--*/


#ifndef _HIDSDI_H
#define _HIDSDI_H

#include <pshpack4.h>

//#include "wtypes.h"

//#include <windef.h>
//#include <win32.h>
//#include <basetyps.h>

typedef LONG NTSTATUS;
#include "hidusage.h"
#include "hidpi.h"

typedef struct _HIDD_CONFIGURATION {
    PVOID    cookie;
    ULONG    size;
    ULONG    RingBufferSize;
} HIDD_CONFIGURATION, *PHIDD_CONFIGURATION;


BOOLEAN __stdcall
HidD_GetAttributes (
    IN  HANDLE              HidDeviceObject,
    OUT PHIDD_ATTRIBUTES    Attributes
    );
/*++
Routine Description:
    Fill in the given HIDD_ATTRIBUTES structure with the attributes of the
    given hid device.

--*/


void __stdcall
HidD_GetHidGuid (
   OUT   LPGUID   HidGuid
   );

BOOLEAN __stdcall
HidD_GetPreparsedData (
   IN    HANDLE                  HidDeviceObject,
   OUT   PHIDP_PREPARSED_DATA  * PreparsedData
   );
/*++
Routine Description:
    Given a handle to a valid Hid Class Device Object, retrieve the preparsed
    data for the device.  This routine will allocate the appropriately 
    sized buffer to hold this preparsed data.  It is up to client to call
    HidP_FreePreparsedData to free the memory allocated to this structure when
    it is no longer needed.

Arguments:
   HidDeviceObject A handle to a Hid Device that the client obtains using 
                   a call to CreateFile on a valid Hid device string name.
                   The string name can be obtained using standard PnP calls.

   PreparsedData   An opaque data structure used by other functions in this 
                   library to retrieve information about a given device.

Return Value:
   TRUE if successful.
   FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_FreePreparsedData (
   IN    PHIDP_PREPARSED_DATA PreparsedData
   );

BOOLEAN __stdcall
HidD_FlushQueue (
   IN    HANDLE                HidDeviceObject
   );
/*++
Routine Description:
    Flush the input queue for the given HID device.

Arguments:
   HidDeviceObject A handle to a Hid Device that the client obtains using 
                   a call to CreateFile on a valid Hid device string name.
                   The string name can be obtained using standard PnP calls.

Return Value:
   TRUE if successful
   FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetConfiguration (
   IN   HANDLE               HidDeviceObject,
   OUT  PHIDD_CONFIGURATION  Configuration,
   IN   ULONG                ConfigurationLength
   );
/*++
Routine Description:
    Get the configuration information for this Hid device

Arguments:
   HidDeviceObject      A handle to a Hid Device Object.

   Configuration        A configuration structure.  HidD_GetConfiguration MUST
                        be called before the configuration can be modified and
                        set using HidD_SetConfiguration

   ConfigurationLength  That is ``sizeof (HIDD_CONFIGURATION)''. Using this
                        parameter, we can later increase the length of the 
                        configuration array and not break older apps.

Return Value:
   TRUE if successful
   FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_SetConfiguration (
   IN   HANDLE               HidDeviceObject,
   IN   PHIDD_CONFIGURATION  Configuration,
   IN   ULONG                ConfigurationLength
   );
/*++
Routine Description:
   Set the configuration information for this Hid device...
   
   NOTE: HidD_GetConfiguration must be called to retrieve the current 
         configuration information before this information can be modified 
         and set.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    Configuration        A configuration structure.  HidD_GetConfiguration MUST
                         be called before the configuration can be modified and
                         set using HidD_SetConfiguration
 
    ConfigurationLength  That is ``sizeof (HIDD_CONFIGURATION)''. Using this
                         parameter, we can later increase the length of the 
                         configuration array and not break older apps.

Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetFeature (
   IN    HANDLE   HidDeviceObject,
   OUT   PVOID    ReportBuffer,
   IN    ULONG    ReportBufferLength
   );
/*++
Routine Description:
    Retrieve a feature report from a HID device.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    ReportBuffer         The buffer that the feature report should be placed 
                         into.  The first byte of the buffer should be set to
                         the report ID of the desired report
 
    ReportBufferLength   The size (in bytes) of ReportBuffer.  This value 
                         should be greater than or equal to the 
                         FeatureReportByteLength field as specified in the 
                         HIDP_CAPS structure for the device
Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_SetFeature (
   IN    HANDLE   HidDeviceObject,
   IN    PVOID    ReportBuffer,
   IN    ULONG    ReportBufferLength
   );
/*++
Routine Description:
    Send a feature report to a HID device.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    ReportBuffer         The buffer of the feature report to send to the device
 
    ReportBufferLength   The size (in bytes) of ReportBuffer.  This value 
                         should be greater than or equal to the 
                         FeatureReportByteLength field as specified in the 
                         HIDP_CAPS structure for the device
Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetNumInputBuffers (
    IN  HANDLE  HidDeviceObject,
    OUT PULONG  NumberBuffers
    );
/*++
Routine Description:
    This function returns the number of input buffers used by the specified
    file handle to the Hid device.  Each file object has a number of buffers
    associated with it to queue reports read from the device but which have
    not yet been read by the user-mode app with a handle to that device.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    NumberBuffers        Number of buffers currently being used for this file
                         handle to the Hid device

Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_SetNumInputBuffers (
    IN  HANDLE HidDeviceObject,
    OUT ULONG  NumberBuffers
    );
/*++

Routine Description:
    This function sets the number of input buffers used by the specified
    file handle to the Hid device.  Each file object has a number of buffers
    associated with it to queue reports read from the device but which have
    not yet been read by the user-mode app with a handle to that device.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    NumberBuffers        New number of buffers to use for this file handle to
                         the Hid device

Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetPhysicalDescriptor (
   IN    HANDLE   HidDeviceObject,
   OUT   PVOID    Buffer,
   IN    ULONG    BufferLength
   );
/*++
Routine Description:
    This function retrieves the raw physical descriptor for the specified
    Hid device.  

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    Buffer               Buffer which on return will contain the physical
                         descriptor if one exists for the specified device
                         handle

    BufferLength         Length of buffer (in bytes)


Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetManufacturerString (
   IN    HANDLE   HidDeviceObject,
   OUT   PVOID    Buffer,
   IN    ULONG    BufferLength
   );
/*++
Routine Description:
    This function retrieves the manufacturer string from the specified 
    Hid device.  

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    Buffer               Buffer which on return will contain the manufacturer
                         string returned from the device.  This string is a 
                         wide-character string

    BufferLength         Length of Buffer (in bytes)


Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetProductString (
   IN    HANDLE   HidDeviceObject,
   OUT   PVOID    Buffer,
   IN    ULONG    BufferLength
   );
/*++
Routine Description:
    This function retrieves the product string from the specified 
    Hid device.  

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    Buffer               Buffer which on return will contain the product
                         string returned from the device.  This string is a 
                         wide-character string

    BufferLength         Length of Buffer (in bytes)


Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetIndexedString (
   IN    HANDLE   HidDeviceObject,
   IN    ULONG    StringIndex,
   OUT   PVOID    Buffer,
   IN    ULONG    BufferLength
   );
/*++
Routine Description:
    This function retrieves a string from the specified Hid device that is
    specified with a certain string index.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    StringIndex          Index of the string to retrieve

    Buffer               Buffer which on return will contain the product
                         string returned from the device.  This string is a 
                         wide-character string

    BufferLength         Length of Buffer (in bytes)

Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/

BOOLEAN __stdcall
HidD_GetSerialNumberString (
   IN    HANDLE   HidDeviceObject,
   OUT   PVOID    Buffer,
   IN    ULONG    BufferLength
   );
/*++
Routine Description:
    This function retrieves the serial number string from the specified 
    Hid device.  

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    Buffer               Buffer which on return will contain the serial number
                         string returned from the device.  This string is a 
                         wide-character string

    BufferLength         Length of Buffer (in bytes)

Return Value:
    TRUE if successful
    FALSE otherwise  -- Use GetLastError() to get extended error information
--*/


#include <poppack.h>

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美色倩网站大全免费| 日韩欧美的一区| 日韩电影在线观看网站| 欧美极品少妇xxxxⅹ高跟鞋| 欧日韩精品视频| 国产91丝袜在线观看| 亚洲一区二区三区美女| 久久亚区不卡日本| 欧美日韩免费视频| 99久久er热在这里只有精品66| 久久精品免费看| 亚洲国产aⅴ天堂久久| 国产精品高潮呻吟| 国产亚洲精品7777| 日韩欧美卡一卡二| 欧美日韩免费一区二区三区 | 色国产综合视频| 国产一区二区不卡老阿姨| 亚洲成人tv网| 玉米视频成人免费看| 国产精品成人在线观看| 久久精品人人做人人爽97| 91精品在线观看入口| 欧洲精品在线观看| 日本高清不卡视频| 91看片淫黄大片一级| 成人av电影在线| 国产成人自拍网| 国产精品一卡二卡在线观看| 另类小说图片综合网| 蜜桃久久久久久| 琪琪一区二区三区| 天堂影院一区二区| 丝袜诱惑制服诱惑色一区在线观看| 亚洲美女视频在线观看| 国产精品国产自产拍高清av| 久久久久国色av免费看影院| 精品成人一区二区三区| 日韩一区二区三区在线观看| 欧美一区二区视频在线观看2020| 欧美日韩高清在线| 88在线观看91蜜桃国自产| 在线亚洲一区观看| 精品视频全国免费看| 欧美色爱综合网| 欧美日韩国产一区| 欧美一区二区三区公司| 欧美大片一区二区三区| 精品国产乱码久久久久久老虎| 日韩精品资源二区在线| 精品国产乱子伦一区| 久久久久成人黄色影片| 久久精品亚洲乱码伦伦中文| 337p粉嫩大胆噜噜噜噜噜91av| 精品三级在线观看| 久久综合色8888| 国产婷婷一区二区| 亚洲日本va午夜在线影院| 亚洲美女在线国产| 偷拍亚洲欧洲综合| 精品一区二区成人精品| 国产河南妇女毛片精品久久久| 成人在线视频一区| 色婷婷精品大在线视频| 欧美日韩在线不卡| 欧美变态凌虐bdsm| 国产精品乱人伦| 亚洲精品乱码久久久久久| 偷拍与自拍一区| 国产一区二区视频在线| 成人免费av网站| 欧美日韩一区在线观看| 日韩一级欧美一级| 中文字幕第一区二区| 亚洲在线视频网站| 麻豆国产精品一区二区三区| 国产99久久久国产精品潘金| 欧美在线视频日韩| 欧美一区二区黄色| 国产精品美女久久久久久久久 | 亚洲啪啪综合av一区二区三区| 亚洲午夜精品网| 国产麻豆精品视频| 色一情一伦一子一伦一区| 欧美一区三区二区| 中文字幕一区在线观看视频| 天堂成人免费av电影一区| 国产高清不卡二三区| 在线亚洲一区观看| 久久久无码精品亚洲日韩按摩| 亚洲啪啪综合av一区二区三区| 日韩高清电影一区| 99久久99久久精品免费看蜜桃| 91麻豆精品国产91久久久使用方法| 国产欧美综合色| 日本女人一区二区三区| 成人美女在线观看| 日韩欧美一级二级三级| 亚洲乱码国产乱码精品精小说| 久久成人免费电影| 欧美日韩一区二区三区四区| 久久精品视频网| 青草国产精品久久久久久| 91免费视频大全| 久久久久国产精品麻豆| 亚洲成人av一区二区三区| av网站免费线看精品| 日韩欧美激情在线| 亚洲国产va精品久久久不卡综合| 成人午夜看片网址| 精品粉嫩超白一线天av| 日韩综合一区二区| 91麻豆精品在线观看| 国产区在线观看成人精品| 日本91福利区| 欧美日韩大陆在线| 亚洲精品成人精品456| 波多野结衣中文字幕一区二区三区| 欧美一区二区三区在线看| 亚洲综合区在线| 色综合咪咪久久| 国产精品热久久久久夜色精品三区 | 一区二区三区日韩欧美| 成人精品视频.| 久久久国产精华| 国产一区91精品张津瑜| 欧美精品一区二区三区蜜桃视频| 日本在线不卡视频一二三区| 欧美日韩aaa| 亚洲一区二区三区视频在线 | 婷婷久久综合九色综合绿巨人 | 一区二区三区欧美久久| 色综合一个色综合亚洲| 亚洲日本丝袜连裤袜办公室| 99久久精品免费看国产 | 亚洲一二三四在线观看| 99re在线精品| 亚洲精品老司机| 在线精品视频免费观看| 亚洲一卡二卡三卡四卡无卡久久 | 蜜臂av日日欢夜夜爽一区| 欧美一二三四在线| 韩国女主播成人在线观看| 欧美精品一区二区在线播放| 蜜臀91精品一区二区三区 | 亚洲天堂成人在线观看| 91色porny| 一区二区成人在线| 欧美日韩国产综合视频在线观看| 亚洲综合在线五月| 欧美日韩国产综合一区二区三区| 日韩精品亚洲一区| 久久午夜色播影院免费高清| 国产成人免费在线| 一区在线播放视频| 欧美亚洲高清一区| 日韩在线一区二区三区| 精品国产三级电影在线观看| 国产成人精品影视| 中文字幕一区二区三区在线播放| 99久久久精品| 性久久久久久久久| 欧美一区二区免费视频| 国产成人精品在线看| 亚洲欧美区自拍先锋| 欧美日韩国产乱码电影| 麻豆91在线播放| 国产日韩欧美一区二区三区乱码| jlzzjlzz欧美大全| 午夜在线电影亚洲一区| 久久久国产午夜精品| 色成年激情久久综合| 日本欧美一区二区在线观看| 久久久久久97三级| 在线精品视频一区二区三四| 久久不见久久见免费视频7 | 91精品久久久久久久91蜜桃| 国产乱人伦偷精品视频免下载 | 国产精品一区2区| 一区二区三区欧美视频| ww亚洲ww在线观看国产| 一本大道久久a久久综合| 日韩电影在线观看一区| 国产精品欧美久久久久一区二区| 欧美日本精品一区二区三区| 国产剧情一区二区| 亚洲在线免费播放| 中文在线一区二区| 欧美一区二区三区免费在线看| 成年人国产精品| 蜜芽一区二区三区| 国产精品久久久久精k8| 欧美一区二区福利在线| 一本久久a久久免费精品不卡| 久久99精品国产麻豆婷婷洗澡| 亚洲欧美在线观看| 精品国产精品网麻豆系列| 色女孩综合影院| 国产成人免费高清| 奇米在线7777在线精品|