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

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

?? hidsdi.h

?? 真正完整
?? H
字號:
/*++

Copyright (c) Microsoft Corporation. All rights reserved.

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;

typedef struct _HIDD_ATTRIBUTES {
    ULONG   Size; // = sizeof (struct _HIDD_ATTRIBUTES)

    //
    // Vendor ids of this hid device
    //
    USHORT  VendorID;
    USHORT  ProductID;
    USHORT  VersionNumber;

    //
    // Additional fields will be added to the end of this structure.
    //
} HIDD_ATTRIBUTES, *PHIDD_ATTRIBUTES;


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_GetInputReport (
   IN    HANDLE   HidDeviceObject,
   OUT   PVOID    ReportBuffer,
   IN    ULONG    ReportBufferLength
   );
/*++
Routine Description:
    Retrieve an input report from a HID device.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    ReportBuffer         The buffer that the input 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 
                         InputReportByteLength 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_SetOutputReport (
   IN    HANDLE   HidDeviceObject,
   IN    PVOID    ReportBuffer,
   IN    ULONG    ReportBufferLength
   );
/*++
Routine Description:
    Send an output report to a HID device.

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    ReportBuffer         The buffer of the output report to send to the device
 
    ReportBufferLength   The size (in bytes) of ReportBuffer.  This value 
                         should be greater than or equal to the 
                         OutputReportByteLength 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
--*/

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

Arguments:
    HidDeviceObject      A handle to a Hid Device Object.
 
    Buffer               Buffer which on return will contain the descriptor
                         returned from the device.
                         
    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一区二区三区免费野_久草精品视频
日韩中文字幕不卡| ...中文天堂在线一区| 日本中文一区二区三区| 在线不卡的av| 精品综合免费视频观看| 久久久久久久综合| 91网站在线播放| 亚洲成人自拍偷拍| 久久综合色之久久综合| 99国产精品一区| 午夜国产精品一区| www欧美成人18+| 91丨九色丨尤物| 日韩国产欧美在线播放| 久久久久久久综合色一本| 色综合久久久久综合体桃花网| 亚洲国产日产av| 欧美精品一区二区三区蜜桃| 91丨九色丨蝌蚪丨老版| 免费日本视频一区| 国产精品久久影院| 4hu四虎永久在线影院成人| 国产精品一区二区三区四区| 亚洲精品一二三四区| 欧美一区二区三区视频在线观看| 国产麻豆成人精品| 亚洲一区二区三区在线| 久久九九久精品国产免费直播| 色婷婷亚洲婷婷| 91免费看片在线观看| 视频在线观看一区| 国产精品国产馆在线真实露脸 | 日韩av电影免费观看高清完整版在线观看| 在线综合亚洲欧美在线视频| 99re在线精品| 麻豆精品国产传媒mv男同| 亚洲色图在线看| 国产午夜亚洲精品羞羞网站| 欧美日韩精品一区二区三区蜜桃 | 国产乱子伦视频一区二区三区| 亚洲日本青草视频在线怡红院 | 欧美国产精品久久| 欧美一区二区三区视频免费| 一本到三区不卡视频| 国产伦理精品不卡| 日本中文一区二区三区| 亚洲一区二区三区自拍| 亚洲手机成人高清视频| 国产人久久人人人人爽| 日韩精品一区二| 欧美精品99久久久**| 99久久精品国产毛片| 国产成人精品一区二| 免费在线观看精品| 天天综合色天天| 亚洲图片有声小说| 亚洲综合色在线| 日韩美女视频一区二区| 亚洲国产精品传媒在线观看| 精品成a人在线观看| 日韩一级黄色片| 91精品综合久久久久久| 欧美日韩三级视频| 99riav一区二区三区| 岛国精品在线观看| 国产成人自拍网| 国产精品亚洲第一区在线暖暖韩国| 日韩av电影免费观看高清完整版| 亚洲国产视频直播| 亚洲成人av中文| 亚洲高清视频的网址| 99视频精品免费视频| 国产一区二区美女诱惑| 国产尤物一区二区| 国产精品一二二区| 国产不卡高清在线观看视频| 成人免费视频一区| 暴力调教一区二区三区| 色香色香欲天天天影视综合网| 99久久精品免费看国产| 色婷婷国产精品| 欧美日本一道本在线视频| 7777精品伊人久久久大香线蕉| 欧美精品 国产精品| 欧美日韩国产小视频在线观看| 欧美日韩精品三区| 欧美mv日韩mv亚洲| 国产欧美一二三区| 中文字幕一区二区日韩精品绯色| 中文字幕一区二区视频| 一区二区三区蜜桃| 青青草伊人久久| 国产黑丝在线一区二区三区| 不卡电影免费在线播放一区| 成人精品国产一区二区4080| 97久久超碰国产精品| 欧美自拍丝袜亚洲| 欧美白人最猛性xxxxx69交| 国产女人aaa级久久久级| 国产精品电影院| 色94色欧美sute亚洲线路一久| 色综合一个色综合亚洲| 欧美日韩国产影片| 久久亚洲精品小早川怜子| 中文字幕一区二区三区四区 | 亚洲男同1069视频| 午夜激情一区二区三区| 国产成人亚洲综合色影视| 91黄色激情网站| 日韩视频免费直播| 亚洲天堂免费看| 看电影不卡的网站| 99国产欧美另类久久久精品| 日韩一区二区三区视频| 中文字幕一区二区在线播放| 青青草原综合久久大伊人精品优势| 国产成人免费av在线| 欧美日韩一区久久| 亚洲国产精品成人综合| 视频一区国产视频| 成+人+亚洲+综合天堂| 91精品国模一区二区三区| 亚洲国产精品ⅴa在线观看| 午夜精品在线视频一区| 成人精品视频网站| 日韩一卡二卡三卡国产欧美| 亚洲欧洲国产日本综合| 日韩国产高清在线| 91蜜桃传媒精品久久久一区二区| 精品久久久影院| 一级特黄大欧美久久久| 成人开心网精品视频| 精品国产三级a在线观看| 午夜影视日本亚洲欧洲精品| 成人国产精品免费观看动漫| 日韩美女主播在线视频一区二区三区| 综合av第一页| 成人午夜av电影| 久久蜜桃av一区精品变态类天堂 | 欧美精品一区二区精品网| 一区二区三区四区在线免费观看| 久久99国产精品免费网站| 欧美视频一区二区| 成人欧美一区二区三区黑人麻豆 | 丝瓜av网站精品一区二区| 成人aaaa免费全部观看| 国产欧美一区二区精品久导航 | 国产成人在线电影| 日韩精品一区在线观看| 亚洲午夜视频在线| 一本一道综合狠狠老| 欧美国产精品专区| 国产高清精品在线| 精品免费一区二区三区| 麻豆精品国产91久久久久久| 日韩一级黄色大片| 日韩av网站在线观看| 777色狠狠一区二区三区| 婷婷开心久久网| 欧美乱熟臀69xxxxxx| 亚洲第一主播视频| 欧美日韩国产首页| 丝袜美腿亚洲一区| 日韩欧美高清在线| 激情综合色播五月| 久久丝袜美腿综合| 高清在线不卡av| 国产精品素人一区二区| 成人免费av在线| 国产精品乱码人人做人人爱| 成人黄色片在线观看| 亚洲国产精品激情在线观看| 菠萝蜜视频在线观看一区| 亚洲欧美在线观看| 色婷婷综合激情| 午夜婷婷国产麻豆精品| 欧美久久婷婷综合色| 美女网站色91| 国产欧美综合在线| 91香蕉视频mp4| 亚洲成av人影院在线观看网| 7777精品伊人久久久大香线蕉经典版下载 | 久久这里只有精品6| 国产激情视频一区二区三区欧美 | 国产精品69毛片高清亚洲| 国产偷国产偷精品高清尤物| 99久久精品一区二区| 亚洲国产婷婷综合在线精品| 欧美一级二级三级乱码| 国产91露脸合集magnet| 亚洲欧洲制服丝袜| 欧美日韩免费电影| 国产精品1024| 亚洲国产中文字幕在线视频综合| 欧美一卡二卡在线观看| 粉嫩蜜臀av国产精品网站| 一区二区三区欧美视频| 日韩午夜激情视频| 成人精品鲁一区一区二区| 亚洲成人三级小说|