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

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

?? hidsdi.h

?? 關于usbview的驅動程序設計。
?? 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一区二区三区免费野_久草精品视频
国产精品拍天天在线| 日韩欧美一区二区免费| 亚洲欧洲韩国日本视频| 99久久99久久精品免费看蜜桃| 成人免费一区二区三区视频| 91视频一区二区三区| 亚洲高清在线精品| 日韩欧美成人激情| 不卡的av电影在线观看| 亚洲一区二区视频在线观看| 日韩三级精品电影久久久 | 老司机免费视频一区二区三区| 欧美va亚洲va在线观看蝴蝶网| 国产成人福利片| 一区二区三区四区精品在线视频| 欧美日韩一区二区三区在线| 久久91精品国产91久久小草| 国产精品毛片久久久久久久| 欧美系列在线观看| 国内精品视频一区二区三区八戒| 亚洲视频一区在线观看| 91麻豆精品久久久久蜜臀| 国产成人欧美日韩在线电影| 亚洲欧美日本韩国| 日韩精品一区二区三区老鸭窝| 成人av资源站| 日本少妇一区二区| 国产精品青草综合久久久久99| 欧美在线视频全部完| 麻豆精品精品国产自在97香蕉| 国产精品三级视频| 在线不卡一区二区| 国产精品一区二区不卡| 亚洲动漫第一页| 中文乱码免费一区二区| 日韩欧美卡一卡二| 日本黄色一区二区| 国产91精品久久久久久久网曝门 | 亚洲国产你懂的| 中文字幕欧美日韩一区| 欧美一区二区三区在线| 91免费看`日韩一区二区| 麻豆精品视频在线| 亚洲v精品v日韩v欧美v专区| 国产精品污网站| 精品国产1区二区| 欧美人与禽zozo性伦| 99r国产精品| 国产盗摄精品一区二区三区在线| 午夜久久久影院| 亚洲欧洲三级电影| 中文字幕乱码一区二区免费| 日韩欧美高清一区| 91精品国产美女浴室洗澡无遮挡| 色综合天天做天天爱| 国产麻豆一精品一av一免费| 日韩中文字幕一区二区三区| 亚洲欧美另类久久久精品| 国产精品色噜噜| 国产欧美一区二区三区沐欲| 日韩美女一区二区三区四区| 欧美丰满一区二区免费视频 | 欧美日韩三级在线| 91小视频在线| 91在线视频18| 色综合网站在线| 91丨九色丨黑人外教| 成人免费黄色在线| 成人精品一区二区三区四区| 国产精品综合久久| 国产伦精品一区二区三区视频青涩 | 欧洲生活片亚洲生活在线观看| 成人av网站大全| 91小宝寻花一区二区三区| av中文字幕亚洲| 91在线免费播放| 日本精品一区二区三区高清| 一本一道久久a久久精品综合蜜臀| av在线不卡观看免费观看| 国产a区久久久| 99精品视频在线观看| 99久精品国产| 91福利区一区二区三区| 精品视频免费在线| 日韩精品一区二区三区视频在线观看 | 中文字幕一区二区三| 国产精品狼人久久影院观看方式| 18欧美乱大交hd1984| 一区二区三区精品视频| 日欧美一区二区| 久久99精品久久久久久动态图| 国产自产视频一区二区三区| 国产91精品在线观看| 色综合中文字幕国产 | 欧美另类z0zxhd电影| 在线综合+亚洲+欧美中文字幕| 91精品国产欧美一区二区| 2023国产精品自拍| 国产精品久久久久婷婷二区次| 亚洲黄网站在线观看| 天天综合天天综合色| 国产一区二区在线视频| 91免费国产视频网站| 8v天堂国产在线一区二区| 精品美女一区二区| 亚洲欧美日韩一区| 久久国产精品99久久久久久老狼| 国产a视频精品免费观看| 一本久久综合亚洲鲁鲁五月天 | 欧美一区午夜精品| 国产精品欧美一区二区三区| 亚洲电影中文字幕在线观看| 久久99精品国产.久久久久| jlzzjlzz亚洲日本少妇| 欧美精三区欧美精三区 | 亚洲欧美在线视频观看| 午夜在线成人av| 粉嫩av一区二区三区在线播放 | 亚洲男同1069视频| 久久99精品久久久久久国产越南 | 成人高清视频在线观看| 欧美男同性恋视频网站| 国产精品妹子av| 久久精品国产色蜜蜜麻豆| 9i看片成人免费高清| 精品蜜桃在线看| 亚洲成人动漫一区| av在线不卡电影| 久久蜜桃一区二区| 午夜免费久久看| 99久久精品情趣| 久久女同精品一区二区| 丝袜亚洲精品中文字幕一区| 99re热视频这里只精品| 久久先锋影音av鲁色资源网| 丝袜国产日韩另类美女| 日本久久电影网| 国产精品国产成人国产三级 | 成人黄色在线网站| 精品va天堂亚洲国产| 午夜久久久久久久久| 成人免费高清视频| 久久精品夜色噜噜亚洲aⅴ| 男女视频一区二区| 欧美日韩国产精品自在自线| 亚洲精品综合在线| 不卡的av中国片| 国产视频911| 精品一区二区免费| 日韩视频一区二区三区在线播放 | 色综合色综合色综合| 国产精品你懂的| 成人激情午夜影院| 中文字幕av资源一区| 国内精品伊人久久久久av影院| 日韩欧美国产高清| 久久精品国产免费看久久精品| 欧美精品1区2区3区| 亚洲国产综合人成综合网站| 在线观看视频一区二区| 亚洲精选在线视频| 91福利国产精品| 亚洲高清在线精品| 欧美伦理影视网| 免费高清在线一区| 26uuu色噜噜精品一区| 久久精品国产精品亚洲综合| 欧美xxxx老人做受| 国产一区二区美女诱惑| 国产亚洲欧美激情| 99国产精品久| 亚洲国产sm捆绑调教视频 | 国产盗摄女厕一区二区三区| 久久网站热最新地址| 东方aⅴ免费观看久久av| 国产精品亲子伦对白| 日本精品视频一区二区三区| 亚洲成人一区在线| 精品久久久网站| 成人免费电影视频| 亚洲自拍偷拍九九九| 欧美美女喷水视频| 国产一区二区导航在线播放| 亚洲国产精品精华液ab| 91色porny在线视频| 亚洲成人一二三| 欧美videofree性高清杂交| 国产成人在线看| 一区二区三区四区不卡视频| 欧美色中文字幕| 久草热8精品视频在线观看| 国产丝袜在线精品| 91久久线看在观草草青青| 日本va欧美va精品| 国产日产亚洲精品系列| 在线观看国产一区二区| 久久99精品国产麻豆不卡| 中文字幕佐山爱一区二区免费| 欧美老肥妇做.爰bbww视频| 精品一区二区三区免费视频|