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

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

?? hidpi.h

?? USB匯編控制 主控采用臺灣義隆電子有限公司的EM78M612
?? H
字號:
 /*++

Copyright (c) 1996-1998      Microsoft Corporation

Module Name:

        HIDPI.H

Abstract:

   Public Interface to the HID parsing library.

Environment:

    Kernel & user mode

--*/

#ifndef   __HIDPI_H__
#define   __HIDPI_H__

#include <pshpack4.h>

// Please include "hidsdi.h" to use the user space (dll / parser)
// Please include "hidpddi.h" to use the kernel space parser

//
// Special Link collection values for using the query functions
//
// Root collection references the collection at the base of the link
// collection tree.
// Unspecifies, references all collections in the link collection tree.
//
#define HIDP_LINK_COLLECTION_ROOT ((USHORT) -1)
#define HIDP_LINK_COLLECTION_UNSPECIFIED ((USHORT) 0)


typedef enum _HIDP_REPORT_TYPE
{
    HidP_Input,
    HidP_Output,
    HidP_Feature
} HIDP_REPORT_TYPE;

typedef struct _USAGE_AND_PAGE
{
    USAGE Usage;
    USAGE UsagePage;
} USAGE_AND_PAGE, *PUSAGE_AND_PAGE;

#define HidP_IsSameUsageAndPage(u1, u2) ((* (PULONG) &u1) == (* (PULONG) &u2))

typedef struct _HIDP_BUTTON_CAPS
{
    USAGE    UsagePage;
    UCHAR    ReportID;
    BOOLEAN  IsAlias;

    USHORT   BitField;
    USHORT   LinkCollection;   // A unique internal index pointer

    USAGE    LinkUsage;
    USAGE    LinkUsagePage;

    BOOLEAN  IsRange;
    BOOLEAN  IsStringRange;
    BOOLEAN  IsDesignatorRange;
    BOOLEAN  IsAbsolute;

    ULONG    Reserved[10];
    union {
        struct {
            USAGE    UsageMin,         UsageMax;
            USHORT   StringMin,        StringMax;
            USHORT   DesignatorMin,    DesignatorMax;
            USHORT   DataIndexMin,     DataIndexMax;
        } Range;
        struct  {
            USAGE    Usage,            Reserved1;
            USHORT   StringIndex,      Reserved2;
            USHORT   DesignatorIndex,  Reserved3;
            USHORT   DataIndex,        Reserved4;
        } NotRange;
    };

} HIDP_BUTTON_CAPS, *PHIDP_BUTTON_CAPS;


typedef struct _HIDP_VALUE_CAPS
{
    USAGE    UsagePage;
    UCHAR    ReportID;
    BOOLEAN  IsAlias;

    USHORT   BitField;
    USHORT   LinkCollection;   // A unique internal index pointer

    USAGE    LinkUsage;
    USAGE    LinkUsagePage;

    BOOLEAN  IsRange;
    BOOLEAN  IsStringRange;
    BOOLEAN  IsDesignatorRange;
    BOOLEAN  IsAbsolute;

    BOOLEAN  HasNull;        // Does this channel have a null report   union
    UCHAR    Reserved;
    USHORT   BitSize;        // How many bits are devoted to this value?

    USHORT   ReportCount;    // See Note below.  Usually set to 1.
    USHORT   Reserved2[5];

    ULONG    UnitsExp;
    ULONG    Units;

    LONG     LogicalMin,       LogicalMax;
    LONG     PhysicalMin,      PhysicalMax;

    union {
        struct {
            USAGE    UsageMin,         UsageMax;
            USHORT   StringMin,        StringMax;
            USHORT   DesignatorMin,    DesignatorMax;
            USHORT   DataIndexMin,     DataIndexMax;
        } Range;

        struct {
            USAGE    Usage,            Reserved1;
            USHORT   StringIndex,      Reserved2;
            USHORT   DesignatorIndex,  Reserved3;
            USHORT   DataIndex,        Reserved4;
        } NotRange;
    };
} HIDP_VALUE_CAPS, *PHIDP_VALUE_CAPS;

//
// Notes:
//
// ReportCount:  When a report descriptor declares an Input, Output, or
// Feature main item with fewer usage declarations than the report count, then
// the last usage applies to all remaining unspecified count in that main item.
// (As an example you might have data that required many fields to describe,
// possibly buffered bytes.)  In this case, only one value cap structure is
// allocated for these associtated fields, all with the same usage, and Report
// Count reflects the number of fields involved.  Normally ReportCount is 1.
// To access all of the fields in such a value structure would require using
// HidP_GetUsageValueArray and HidP_SetUsageValueArray.   HidP_GetUsageValue/
// HidP_SetScaledUsageValue will also work, however, these functions will only
// work with the first field of the structure.
//

//
// The link collection tree consists of an array of LINK_COLLECTION_NODES
// where the index into this array is the same as the collection number.
//
// Given a collection A which contains a subcollection B, A is defined to be
// the parent B, and B is defined to be the child.
//
// Given collections A, B, and C where B and C are children of A, and B was
// encountered before C in the report descriptor, B is defined as a sibling of
// C.  (This implies, of course, that if B is a sibling of C, then C is NOT a
// sibling of B).
//
// B is defined as the NextSibling of C if and only if there exists NO
// child collection of A, call it D, such that B is a sibling of D and D
// is a sibling of C.
//
// E is defined to be the FirstChild of A if and only if for all children of A,
// F, that are not equivalent to E, F is a sibling of E.
// (This implies, of course, that the does not exist a child of A, call it G,
// where E is a sibling of G).  In other words the first sibling is the last
// link collection found in the list.
//
// In other words, if a collection B is defined within the definition of another
// collection A, B becomes a child of A.  All collections with the same parent
// are considered siblings.  The FirstChild of the parent collection, A, will be
// last collection defined that has A as a parent.  The order of sibling pointers
// is similarly determined.  When a collection B is defined, it becomes the
// FirstChild of it's parent collection.  The previously defined FirstChild of the
// parent collection becomes the NextSibling of the new collection.  As new
// collections with the same parent are discovered, the chain of sibling is built.
//
// With that in mind, the following describes conclusively a data structure
// that provides direct traversal up, down, and accross the link collection
// tree.
//
//
typedef struct _HIDP_LINK_COLLECTION_NODE
{
    USAGE    LinkUsage;
    USAGE    LinkUsagePage;
    USHORT   Parent;
    USHORT   NumberOfChildren;
    USHORT   NextSibling;
    USHORT   FirstChild;
    ULONG    CollectionType: 8;  // As defined in 6.2.2.6 of HID spec
    ULONG    IsAlias : 1; // This link node is an allias of the next link node.
    ULONG    Reserved: 23;
    PVOID    UserContext; // The user can hang his coat here.
} HIDP_LINK_COLLECTION_NODE, *PHIDP_LINK_COLLECTION_NODE;

//
// When a link collection is described by a delimiter, alias link collection
// nodes are created.  (One for each usage within the delimiter).
// The parser assigns each capability description listed above only one
// link collection.
//
// If a control is defined within a collection defined by
// delimited usages, then that control is said to be within multiple link
// collections, one for each usage within the open and close delimiter tokens.
// Such multiple link collecions are said to be aliases.  The first N-1 such
// collections, listed in the link collection node array, have their IsAlias
// bit set.  The last such link collection is the link collection index used
// in the capabilities described above.
// Clients wishing to set a control in an aliased collection, should walk the
// collection array once for each time they see the IsAlias flag set, and use
// the last link collection as the index for the below accessor functions.
//
// NB: if IsAlias is set, then NextSibling should be one more than the current
// link collection node index.
//

typedef PUCHAR  PHIDP_REPORT_DESCRIPTOR;
typedef struct _HIDP_PREPARSED_DATA * PHIDP_PREPARSED_DATA;

typedef struct _HIDP_CAPS
{
    USAGE    Usage;
    USAGE    UsagePage;
    USHORT   InputReportByteLength;
    USHORT   OutputReportByteLength;
    USHORT   FeatureReportByteLength;
    USHORT   Reserved[17];

    USHORT   NumberLinkCollectionNodes;

    USHORT   NumberInputButtonCaps;
    USHORT   NumberInputValueCaps;
    USHORT   NumberInputDataIndices;

    USHORT   NumberOutputButtonCaps;
    USHORT   NumberOutputValueCaps;
    USHORT   NumberOutputDataIndices;

    USHORT   NumberFeatureButtonCaps;
    USHORT   NumberFeatureValueCaps;
    USHORT   NumberFeatureDataIndices;
} HIDP_CAPS, *PHIDP_CAPS;

typedef struct _HIDP_DATA
{
    USHORT  DataIndex;
    USHORT  Reserved;
    union {
        ULONG   RawValue; // for values
        BOOLEAN On; // for buttons MUST BE TRUE for buttons.
    };
} HIDP_DATA, *PHIDP_DATA;
//
// The HIDP_DATA structure is used with HidP_GetData and HidP_SetData
// functions.
//
// The parser contiguously assigns every control (button or value) in a hid
// device a unique data index from zero to NumberXXXDataIndices -1 , inclusive.
// This value is found in the HIDP_BUTTON_CAPS and HIDP_VALUE_CAPS structures.
//
// Most clients will find the Get/Set Buttons / Value accessor functions
// sufficient to their needs, as they will allow the clients to access the
// data known to them while ignoring the other controls.
//
// More complex clients, which actually read the Button / Value Caps, and which
// do a value add service to these routines (EG Direct Input), will need to
// access all the data in the device without interest in the individual usage
// or link collection location.  These are the clients that will find
// HidP_Data useful.
//

typedef struct _HIDP_UNKNOWN_TOKEN
{
    UCHAR  Token;
    UCHAR  Reserved[3];
    ULONG  BitField;
} HIDP_UNKNOWN_TOKEN, *PHIDP_UNKNOWN_TOKEN;

typedef struct _HIDP_EXTENDED_ATTRIBUTES
{
    UCHAR   NumGlobalUnknowns;
    UCHAR   Reserved [3];
    PHIDP_UNKNOWN_TOKEN  GlobalUnknowns;
    // ... Additional attributes
    ULONG   Data [1]; // variableLength  DO NOT ACCESS THIS FIELD
} HIDP_EXTENDED_ATTRIBUTES, *PHIDP_EXTENDED_ATTRIBUTES;

NTSTATUS __stdcall
HidP_GetCaps (
   IN      PHIDP_PREPARSED_DATA      PreparsedData,
   OUT     PHIDP_CAPS                Capabilities
   );
/*++
Routine Description:
   Returns a list of capabilities of a given hid device as described by its
   preparsed data.

Arguments:
   PreparsedData    The preparsed data returned from HIDCLASS.
   Capabilities     a HIDP_CAPS structure

Return Value:

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91啦中文在线观看| 亚洲国产一区二区三区青草影视| 欧美精品一二三四| 91啪在线观看| 色吧成人激情小说| 91国模大尺度私拍在线视频| 91欧美一区二区| 91女神在线视频| 色综合色狠狠综合色| 欧美专区亚洲专区| 欧美日韩另类一区| 欧美一区二区在线不卡| 日韩一区二区电影在线| 精品久久久久99| 久久久久九九视频| 亚洲欧洲在线观看av| 亚洲视频一二区| 亚洲va欧美va人人爽| 日韩中文字幕91| 美国三级日本三级久久99| 久久97超碰国产精品超碰| 国产精品羞羞答答xxdd | 欧美亚洲愉拍一区二区| 欧美日韩高清在线播放| 日韩精品最新网址| 天天av天天翘天天综合网| 蜜桃精品视频在线| 懂色av一区二区三区免费看| 色综合久久综合网欧美综合网| 欧美性受xxxx黑人xyx性爽| 91麻豆精品久久久久蜜臀 | 成人激情免费视频| 在线观看日韩高清av| 日韩欧美中文字幕一区| 国产精品久久久久久久岛一牛影视 | 欧美日韩一区二区三区四区五区 | 一区二区三区.www| 久久国产尿小便嘘嘘尿| av男人天堂一区| 欧美蜜桃一区二区三区| 国产午夜亚洲精品理论片色戒| 亚洲欧美一区二区在线观看| 蜜桃久久久久久| 色综合天天天天做夜夜夜夜做| 欧美一区二区在线观看| 1000部国产精品成人观看| 蜜臀av性久久久久蜜臀aⅴ四虎| 成人国产精品视频| 日韩精品中文字幕在线一区| 一区二区三区成人| 成人精品视频一区二区三区尤物| 69堂精品视频| 亚洲男人的天堂网| 国产成人亚洲综合色影视| 欧美女孩性生活视频| 亚洲乱码中文字幕| www.综合网.com| 精品国产一区二区三区不卡| 日韩在线一区二区| 欧美主播一区二区三区美女| 在线观看一区二区视频| 最新日韩在线视频| 国产宾馆实践打屁股91| 777色狠狠一区二区三区| 一区二区三区在线观看网站| 不卡欧美aaaaa| 国产精品久久久久影院亚瑟| 国产精品一区二区三区四区| 精品少妇一区二区三区免费观看| 五月激情综合婷婷| 欧洲生活片亚洲生活在线观看| 中文字幕一区二区在线播放| 国产成人精品亚洲日本在线桃色| 2021中文字幕一区亚洲| 精品制服美女久久| 精品久久久久久综合日本欧美| 日本成人在线不卡视频| 日韩一区二区三区在线| 青青草原综合久久大伊人精品| 欧美精品第一页| 日韩精品色哟哟| 欧美一级高清片在线观看| 首页国产丝袜综合| 91精品国产综合久久精品性色| 亚洲成人激情综合网| 911国产精品| 久久成人久久爱| 久久综合久久99| 国产一区二区成人久久免费影院| 久久综合一区二区| 成人免费va视频| 亚洲三级理论片| 欧美视频在线一区| 美女久久久精品| 国产三级三级三级精品8ⅰ区| 成人小视频在线| 亚洲综合免费观看高清在线观看| 欧美美女一区二区| 国产中文一区二区三区| 国产精品亲子伦对白| 91国偷自产一区二区三区成为亚洲经典| 亚洲国产日韩在线一区模特| 日韩精品一区二区三区视频播放| 国产激情视频一区二区三区欧美| 中文字幕在线不卡一区| 91精品在线一区二区| 国产激情一区二区三区四区| 亚洲精选一二三| 日韩欧美亚洲国产另类| 国产电影一区二区三区| 一区二区三区四区中文字幕| 91精品国产高清一区二区三区蜜臀| 国产麻豆成人精品| 亚洲主播在线播放| 国产丝袜在线精品| 欧美日本在线观看| 成人av在线资源| 男男gaygay亚洲| 亚洲欧美日韩国产综合| 精品少妇一区二区三区在线视频| 91丝袜呻吟高潮美腿白嫩在线观看| 日本欧美肥老太交大片| 亚洲欧洲国产专区| 日韩精品在线网站| 欧美亚洲国产一卡| 不卡的av中国片| 国内精品视频666| 亚洲成人免费电影| 亚洲人精品一区| 久久精品欧美一区二区三区麻豆| 欧美色欧美亚洲另类二区| 国产 欧美在线| 免费在线成人网| 亚洲国产另类精品专区| 国产精品久久久久一区二区三区| 欧美一级一区二区| 欧美日韩一区三区四区| 色噜噜狠狠成人中文综合 | 丝袜美腿亚洲一区| 一区二区三区欧美| 日韩码欧中文字| 国产精品视频免费看| 欧美激情艳妇裸体舞| 日韩免费高清电影| 欧美一级专区免费大片| 69堂精品视频| 日韩欧美一区二区三区在线| 欧美日韩成人综合在线一区二区| 一本大道av一区二区在线播放| 国产成人精品免费一区二区| 国产揄拍国内精品对白| 精油按摩中文字幕久久| 美女爽到高潮91| 久久精品国产色蜜蜜麻豆| 青青草91视频| 久久成人羞羞网站| 狠狠色综合日日| 国产精品一二三区在线| 国产精品一区在线观看你懂的| 国产一区福利在线| 高清av一区二区| 成人avav在线| 一本一道综合狠狠老| 在线日韩一区二区| 911精品产国品一二三产区| 日韩一卡二卡三卡| 久久久久亚洲蜜桃| 国产精品每日更新| 一区二区三区成人在线视频| 视频一区二区中文字幕| 久久99最新地址| 丁香婷婷综合激情五月色| av不卡在线观看| 在线观看亚洲精品| 欧美一区二区福利视频| 国产亚洲欧美中文| 一区二区三区在线视频观看| 免费看精品久久片| 成人18视频在线播放| 欧美三级欧美一级| 亚洲精品在线观看视频| 中文字幕一区二区三区在线观看 | 欧美一区二区成人6969| 国产亚洲视频系列| 一区二区三区欧美亚洲| 九九**精品视频免费播放| www.综合网.com| 日韩手机在线导航| 中文字幕中文字幕一区| 日韩成人精品在线观看| 成人自拍视频在线观看| 欧美三电影在线| 国产清纯白嫩初高生在线观看91 | 91.麻豆视频| 亚洲国产成人在线| 日韩激情视频在线观看| www.激情成人| 欧美xingq一区二区| 一区二区在线观看视频在线观看| 激情国产一区二区 |