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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? hidsdi.h

?? vc編寫(xiě)的usb程序
?? H
字號(hào):
/*++

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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
自拍视频在线观看一区二区| 国产成人精品免费| 亚洲最快最全在线视频| 日本一区二区综合亚洲| 久久久久久久免费视频了| 5566中文字幕一区二区电影| 欧美日韩高清在线播放| 欧美色倩网站大全免费| 欧洲一区二区av| 欧美亚一区二区| 欧洲一区在线观看| 欧美日韩一区二区三区四区五区 | 欧美精品1区2区| 欧美巨大另类极品videosbest | 久久99精品国产麻豆不卡| 视频一区视频二区中文字幕| 丝袜诱惑亚洲看片| 蜜桃一区二区三区四区| 老司机一区二区| 国产精品亚洲а∨天堂免在线| 国产精品自在欧美一区| 丁香激情综合五月| 91麻豆国产福利精品| 色综合天天天天做夜夜夜夜做| 色哟哟国产精品免费观看| 色婷婷久久99综合精品jk白丝| 欧美色倩网站大全免费| 666欧美在线视频| 精品国产乱码久久久久久1区2区 | 欧美日韩一区久久| 欧美一区二区三区电影| 亚洲精品一区二区三区香蕉| 国产精品毛片无遮挡高清| 一区二区成人在线视频| 蜜臀精品一区二区三区在线观看| 国产老肥熟一区二区三区| 99久久国产免费看| 欧美日韩一区高清| 亚洲精品在线网站| 亚洲欧美日韩在线播放| 日韩中文字幕一区二区三区| 国产一区久久久| 色天使久久综合网天天| 欧美一区二区三级| 国产精品久久久久一区二区三区| 亚洲精品国产高清久久伦理二区| 奇米亚洲午夜久久精品| 粉嫩蜜臀av国产精品网站| 色婷婷久久久亚洲一区二区三区| 日韩免费高清电影| 中文字幕一区二区三区蜜月| 日韩电影在线免费看| 国产不卡在线播放| 欧美男男青年gay1069videost| 亚洲精品在线三区| 自拍偷拍国产精品| 久久精品理论片| 色一区在线观看| 久久精品一区二区三区不卡牛牛| 一区二区三区产品免费精品久久75| 蜜桃视频在线一区| 在线亚洲欧美专区二区| 久久综合九色综合欧美亚洲| 亚洲国产一区二区视频| 国产精品一区二区久久不卡| 欧美猛男男办公室激情| 日本一区二区三区四区在线视频| 性久久久久久久| 99精品久久免费看蜜臀剧情介绍| 日韩一卡二卡三卡| 亚洲一区在线看| 成人app软件下载大全免费| 欧美一区2区视频在线观看| 亚洲同性gay激情无套| 精品系列免费在线观看| 欧美高清视频在线高清观看mv色露露十八| 中文字幕+乱码+中文字幕一区| 日韩成人精品视频| 在线精品视频免费观看| 欧美激情中文不卡| 激情成人综合网| 538prom精品视频线放| 亚洲人快播电影网| 成人午夜在线播放| 久久久不卡影院| 经典三级视频一区| 91精品国产高清一区二区三区蜜臀| 亚洲男同性视频| 99久久er热在这里只有精品15 | 自拍视频在线观看一区二区| 国产精品996| 久久亚洲二区三区| 久久精工是国产品牌吗| 在线播放91灌醉迷j高跟美女| 樱桃国产成人精品视频| eeuss鲁一区二区三区| 国产亚洲污的网站| 国产一区二区三区| 亚洲午夜久久久久久久久电影网 | 成人免费看视频| 国产日韩av一区| 国产麻豆精品95视频| 精品国产电影一区二区| 蜜桃av一区二区三区电影| 9191久久久久久久久久久| 亚洲成av人片一区二区| 欧美在线视频日韩| 亚洲国产美国国产综合一区二区| 91福利资源站| 亚洲国产成人高清精品| 欧美日韩成人高清| 婷婷成人综合网| 日韩午夜激情视频| 久久成人免费网站| 久久免费国产精品| 国产精品伊人色| 中文字幕av免费专区久久| 99久久伊人久久99| 亚洲欧洲制服丝袜| 色呦呦日韩精品| 午夜视频一区二区| 欧美一区二区日韩一区二区| 九一久久久久久| 国产欧美一二三区| jlzzjlzz国产精品久久| 亚洲图片欧美激情| 欧美日韩精品欧美日韩精品一综合| 视频一区国产视频| 欧美电影免费观看高清完整版在| 韩国av一区二区三区在线观看| 国产午夜精品久久久久久免费视 | 欧洲国产伦久久久久久久| 亚洲国产精品欧美一二99| 337p亚洲精品色噜噜| 国产最新精品免费| 国产精品久久久久影院亚瑟| 91成人免费在线| 日韩不卡手机在线v区| 久久蜜臀精品av| 色综合久久99| 日韩国产精品91| 久久精品亚洲精品国产欧美kt∨| 99综合影院在线| 性做久久久久久免费观看欧美| 欧美精品一区男女天堂| 成人黄色av电影| 三级久久三级久久久| 久久精品一区二区三区四区| 91蜜桃网址入口| 蜜臀av性久久久久蜜臀aⅴ| 国产女主播视频一区二区| 欧洲精品视频在线观看| 狠狠色综合播放一区二区| 成人欧美一区二区三区| 在线综合视频播放| 成人黄色网址在线观看| 日本午夜一本久久久综合| 国产精品色婷婷久久58| 欧美美女bb生活片| 成人免费黄色大片| 日韩高清不卡一区二区| 亚洲欧洲在线观看av| 欧美一级片免费看| 91视频xxxx| 国产一区二区91| 亚洲成人手机在线| 国产清纯美女被跳蛋高潮一区二区久久w| 在线精品视频免费播放| 国产精品99久久久| 日韩精品色哟哟| 亚洲男人都懂的| 国产欧美综合在线| 日韩一级欧美一级| 在线看日本不卡| 成人精品国产福利| 久久国产福利国产秒拍| 一区二区国产视频| 国产精品你懂的在线欣赏| 日韩视频在线永久播放| 欧美影片第一页| 成人午夜在线播放| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲国产裸拍裸体视频在线观看乱了 | 亚洲美女少妇撒尿| 国产日韩欧美精品一区| 日韩亚洲电影在线| 欧美日韩一二三| 色噜噜狠狠成人网p站| 国产69精品久久99不卡| 精品亚洲欧美一区| 首页综合国产亚洲丝袜| 亚洲国产欧美另类丝袜| 亚洲三级在线观看| 国产精品乱码一区二区三区软件| 精品久久久久99| 欧美成人精精品一区二区频| 7777精品伊人久久久大香线蕉最新版 | 亚洲精品中文字幕在线观看| 国产三级精品三级在线专区| 精品剧情在线观看|