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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? hidsdi.h

?? 單片機C語言程序
?? 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一区二区三区免费野_久草精品视频
日韩一区二区视频| 国产精品久久久爽爽爽麻豆色哟哟 | 日韩一区和二区| 成人免费在线观看入口| 蜜臀a∨国产成人精品| 99re热这里只有精品免费视频 | 色婷婷综合五月| 精品国产一区二区三区av性色| 亚洲日本一区二区三区| 国产一区三区三区| 日韩一区二区在线看| 一区二区三区免费在线观看| 国产a视频精品免费观看| 9191精品国产综合久久久久久| 亚洲日本在线观看| 不卡av在线网| 日本一区二区三区在线不卡| 麻豆精品精品国产自在97香蕉| 在线视频国内一区二区| 亚洲欧洲精品一区二区三区 | 国产欧美一区二区精品性色| 日韩av一区二区在线影视| 欧美最猛黑人xxxxx猛交| 中国av一区二区三区| 韩国女主播一区二区三区| 91精品在线免费观看| 亚洲自拍偷拍综合| 在线视频一区二区免费| 一区二区三区高清| 色偷偷久久一区二区三区| 亚洲国产电影在线观看| 国产精品一区二区久久不卡| 欧美精品一区二区三| 国产一区二区影院| 久久一二三国产| 国产91丝袜在线播放| 国产日韩高清在线| 成人美女视频在线看| 国产精品三级av在线播放| 成人一区二区在线观看| 中文字幕一区视频| 色久综合一二码| 亚洲国产精品一区二区久久恐怖片| 在线国产亚洲欧美| 天堂久久一区二区三区| 日韩欧美一二三| 国产精品18久久久| 亚洲人成亚洲人成在线观看图片 | 精品av久久707| 国产综合久久久久久鬼色| 国产欧美日韩中文久久| 成人av电影在线网| 午夜欧美电影在线观看| 在线播放亚洲一区| 国产精品一区二区免费不卡| 国产精品久久久久久久久快鸭 | 日本成人中文字幕在线视频| 国产精品一区二区久久不卡| 亚洲精品在线观看网站| 国产一区二区视频在线| 欧美视频中文字幕| 性做久久久久久免费观看| 欧美亚洲综合久久| 奇米影视在线99精品| 日韩精品一区在线观看| 精品一区二区三区免费毛片爱| 久久午夜羞羞影院免费观看| 成人免费毛片高清视频| √…a在线天堂一区| 欧美亚洲动漫另类| 青青青伊人色综合久久| 日韩欧美在线综合网| 久草这里只有精品视频| 欧美韩国日本综合| 色8久久人人97超碰香蕉987| 日本不卡一区二区| 亚洲国产精品高清| 欧日韩精品视频| 韩日欧美一区二区三区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 中文字幕亚洲一区二区av在线 | 国产一区二区在线影院| 日韩欧美第一区| 国产不卡高清在线观看视频| 亚洲视频在线观看一区| 337p亚洲精品色噜噜狠狠| 精品午夜久久福利影院 | 欧美不卡一区二区三区四区| 成人国产精品视频| 亚洲一区免费观看| 欧美一区日韩一区| 欧美亚洲国产bt| 国产成人超碰人人澡人人澡| 亚洲影视在线播放| 久久久久99精品国产片| 欧美性猛片aaaaaaa做受| 狠狠色丁香久久婷婷综合_中| 日韩美女久久久| 精品电影一区二区三区 | 欧美日韩久久不卡| 高清免费成人av| 日日欢夜夜爽一区| 中文字幕亚洲不卡| 精品剧情v国产在线观看在线| 99久久99久久精品免费看蜜桃| 蜜桃一区二区三区在线观看| 17c精品麻豆一区二区免费| 精品国产乱码久久久久久浪潮 | 1区2区3区国产精品| 精品剧情v国产在线观看在线| 欧美亚洲动漫精品| 成人激情黄色小说| 精品制服美女丁香| 日日摸夜夜添夜夜添国产精品| 中文在线资源观看网站视频免费不卡| 成人av在线播放网站| 国产一区999| 蜜桃视频在线一区| 日韩国产成人精品| 天涯成人国产亚洲精品一区av| 亚洲欧美日韩综合aⅴ视频| 久久国产尿小便嘘嘘尿| 亚洲精品在线电影| 国产aⅴ综合色| 精品中文字幕一区二区小辣椒| 亚洲电影一区二区三区| 亚洲精品国产高清久久伦理二区| 国产欧美一区视频| 欧美极品美女视频| 久久久午夜电影| 精品久久久久久久一区二区蜜臀| 69p69国产精品| 日韩一区二区不卡| 欧美成人女星排行榜| 欧美xxxxx牲另类人与| 91精品国产乱码久久蜜臀| 日韩一区二区三区视频在线 | 国产精品传媒视频| 中文字幕 久热精品 视频在线| 欧美国产在线观看| 国产精品国产自产拍高清av王其| 国产精品美女久久久久久久久久久| 国产精品少妇自拍| 中文字幕一区二区三区蜜月 | 99久久久久久| 在线免费观看日本一区| 欧美日韩小视频| 91精品国产综合久久精品麻豆| 日韩欧美在线综合网| 久久久精品日韩欧美| 欧美精品一区二区三区在线| 精品国产91乱码一区二区三区| 久久精品男人的天堂| 亚洲精品免费电影| 日韩影院在线观看| 国产精品一区二区视频| 一本久道中文字幕精品亚洲嫩| 欧美日韩久久久久久| 久久毛片高清国产| 国产欧美综合在线观看第十页| 最近中文字幕一区二区三区| 午夜成人在线视频| 国产成人免费视频| 91国产成人在线| 精品国产91乱码一区二区三区| 国产精品成人网| 日韩精品久久久久久| 国产精品1区2区| 欧美日韩精品免费观看视频| 久久久久久久久久久黄色| 亚洲日本电影在线| 裸体一区二区三区| 91麻豆免费观看| 欧美xingq一区二区| 亚洲欧美在线观看| 日韩成人免费电影| kk眼镜猥琐国模调教系列一区二区 | 一区二区欧美国产| 精品一区二区三区香蕉蜜桃 | 久久久欧美精品sm网站| 亚洲午夜视频在线观看| 国产精品一品二品| 欧美一级精品大片| 一区二区三区产品免费精品久久75| 免费三级欧美电影| 欧美日韩中文精品| 国产精品成人在线观看| 极品少妇xxxx精品少妇偷拍| 欧美色老头old∨ideo| 国产精品毛片久久久久久久| 免费成人美女在线观看.| 91福利视频久久久久| 日韩欧美国产综合一区| 亚洲午夜影视影院在线观看| 99国产精品国产精品毛片| 国产视频一区二区在线| 韩国欧美国产1区| 日韩欧美一区二区三区在线| 午夜精品久久久久久不卡8050| 99久久婷婷国产精品综合|