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

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

?? hidsdi.h

?? USB匯編控制 主控采用臺灣義隆電子有限公司的EM78M612
?? 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;

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_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一区二区三区免费野_久草精品视频
精品综合免费视频观看| 亚洲福利国产精品| 欧美日韩免费电影| 国产精品123区| 毛片一区二区三区| 亚洲一区二区精品3399| 亚洲欧美综合色| 日韩精品中文字幕一区二区三区 | 欧美欧美欧美欧美| 欧美精品一区二区三区高清aⅴ| 欧美日韩夫妻久久| 久久日韩精品一区二区五区| 91亚洲精品久久久蜜桃网站 | 26uuu国产在线精品一区二区| 国产精品萝li| 中文字幕成人av| 久久久亚洲精品石原莉奈| 亚洲欧美国产77777| 一色屋精品亚洲香蕉网站| 三级一区在线视频先锋| 亚洲电影一级黄| 天涯成人国产亚洲精品一区av| 欧美日韩国产在线播放网站| 日韩欧美激情一区| 亚洲免费av网站| 狠狠色狠狠色综合日日91app| 美女精品一区二区| 在线观看一区二区视频| 欧美在线制服丝袜| 国产日韩欧美一区二区三区乱码 | 国产成+人+日韩+欧美+亚洲 | 亚洲视频一二三区| 伊人夜夜躁av伊人久久| 亚洲一区二区三区四区在线观看| 国产毛片精品一区| 99re8在线精品视频免费播放| 99re8在线精品视频免费播放| 日韩天堂在线观看| 久久久久久久精| 日韩国产在线一| 麻豆国产精品一区二区三区| 在线观看不卡一区| 国产精品天干天干在观线| 久久成人精品无人区| 成人一道本在线| 在线免费精品视频| 国产精品电影一区二区三区| 亚洲午夜免费福利视频| av成人免费在线| 欧美精品在欧美一区二区少妇| 精品久久人人做人人爱| 亚洲欧美日韩国产综合| 懂色av一区二区三区免费看| 欧美电影免费观看高清完整版在线 | 日韩主播视频在线| 欧美在线一区二区三区| 亚洲精品视频观看| 91麻豆免费看| 国产精品天美传媒| 成人国产免费视频| 欧美日韩黄色影视| 亚洲一区影音先锋| 欧美在线免费播放| 亚洲激情网站免费观看| 一本高清dvd不卡在线观看| 欧美巨大另类极品videosbest| 亚洲一区二区在线免费看| 色婷婷久久一区二区三区麻豆| 亚洲欧美视频在线观看| 18欧美乱大交hd1984| 国产精品美女一区二区三区 | 久久精品亚洲精品国产欧美kt∨ | 亚洲欧美日韩久久精品| 99精品国产视频| 中文字幕一区二区三中文字幕| 成人免费av在线| 国产精品久久久久久久久动漫| 成人av在线电影| 综合久久国产九一剧情麻豆| 99久久精品免费看国产| 亚洲色图另类专区| 91老师片黄在线观看| 一区二区三区在线看| 国产精品一区三区| 日韩一级二级三级精品视频| 日韩中文字幕区一区有砖一区| 欧美一级二级三级蜜桃| 另类综合日韩欧美亚洲| 久久美女艺术照精彩视频福利播放| 国产成人午夜精品5599 | 欧美一a一片一级一片| 国产欧美日韩精品在线| www.在线欧美| 怡红院av一区二区三区| 91麻豆精品国产91久久久资源速度 | 九九精品视频在线看| 久久精品男人天堂av| 成人av在线观| 亚洲福中文字幕伊人影院| 欧美电视剧在线观看完整版| 国产一区二区三区在线观看免费| 国产精品女人毛片| 欧美在线啊v一区| 免费观看一级特黄欧美大片| 欧美另类videos死尸| 精品一区二区三区的国产在线播放| 久久精品一区四区| 91美女片黄在线观看91美女| 日韩电影网1区2区| 国产精品视频一二| 欧美在线一区二区| 国产尤物一区二区| 一区二区三区美女| 精品不卡在线视频| 91蜜桃婷婷狠狠久久综合9色| 日本中文在线一区| 中文一区二区在线观看 | 另类小说图片综合网| 中文字幕欧美激情一区| 欧美色图天堂网| 亚洲一二三区不卡| xf在线a精品一区二区视频网站| 色综合网站在线| 一区二区在线观看视频| 日韩欧美一区二区三区在线| 99re在线精品| 久久99精品久久久久久动态图| 亚洲女人****多毛耸耸8| 日韩欧美激情四射| 欧美四级电影在线观看| 国产91丝袜在线播放| 日韩福利视频导航| 亚洲视频每日更新| 久久久久久影视| 欧美日韩高清在线播放| 99精品欧美一区二区蜜桃免费 | 精品乱人伦小说| 欧美视频日韩视频| 成人a区在线观看| 久久av中文字幕片| 亚洲一区二区三区精品在线| 国产日韩综合av| 精品乱人伦小说| 欧美二区在线观看| 色天天综合色天天久久| 高清在线不卡av| 免费成人美女在线观看| 亚洲午夜视频在线观看| 中文字幕中文字幕在线一区| 日韩精品一区二区三区在线观看| 在线观看三级视频欧美| 成人动漫精品一区二区| 国产一区二区0| 麻豆一区二区99久久久久| 亚洲成人动漫精品| 亚洲欧美激情在线| 亚洲国产高清aⅴ视频| 2019国产精品| 日韩欧美你懂的| 91精品国产麻豆国产自产在线 | 国产精品麻豆一区二区| 精品国产电影一区二区| 91麻豆精品国产91久久久资源速度| 色噜噜狠狠色综合中国| 日本亚洲三级在线| 亚洲国产va精品久久久不卡综合 | 欧美日韩精品免费| 欧美体内she精高潮| 色婷婷久久综合| 色综合色狠狠综合色| 99免费精品在线| 成人性色生活片| 不卡的av在线播放| 成人黄色在线网站| 成人深夜在线观看| 成人av先锋影音| 成人免费的视频| 9色porny自拍视频一区二区| 懂色av一区二区在线播放| 成人毛片在线观看| 99麻豆久久久国产精品免费| av一区二区不卡| 91免费在线看| 精品1区2区3区| 欧美日本在线观看| 91精品婷婷国产综合久久竹菊| 欧美人xxxx| 欧美一级片在线看| 亚洲精品一区二区三区香蕉| 26uuu另类欧美亚洲曰本| 久久精品男人天堂av| 国产精品久久久久久亚洲伦| 中文字幕日韩av资源站| 亚洲精品国产a久久久久久 | 欧美一区2区视频在线观看| 日韩三级av在线播放| 久久综合999| 国产精品不卡视频| 亚洲福利一二三区| 看片的网站亚洲|