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

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

?? vusb.h

?? USB HASP key emulator, based on USB bus driver
?? H
字號:
/*++

Copyright (c) 2004 Chingachguk & Denger2k All Rights Reserved

Module Name:

    VUSB.H

Abstract:

    This module contains the common private declarations 
    for the virtual USB Bus enumerator.

Environment:

    kernel mode only

Notes:


Revision History:


--*/
#ifndef VUSB_H
#define VUSB_H
#include "USBKeyEmu.h"

//
// Memory allocation tag
//
#define VUSB_POOL_TAG (ULONG) 'bsUV'

//
// Debugging Output Levels
//

#define BUS_DBG_ALWAYS                  0x00000000

#define BUS_DBG_STARTUP_SHUTDOWN_MASK   0x0000000F
#define BUS_DBG_SS_NOISE                0x00000001
#define BUS_DBG_SS_TRACE                0x00000002
#define BUS_DBG_SS_INFO                 0x00000004
#define BUS_DBG_SS_ERROR                0x00000008

#define BUS_DBG_PNP_MASK                0x000000F0
#define BUS_DBG_PNP_NOISE               0x00000010
#define BUS_DBG_PNP_TRACE               0x00000020
#define BUS_DBG_PNP_INFO                0x00000040
#define BUS_DBG_PNP_ERROR               0x00000080

#define BUS_DBG_IOCTL_MASK              0x00000F00
#define BUS_DBG_IOCTL_NOISE             0x00000100
#define BUS_DBG_IOCTL_TRACE             0x00000200
#define BUS_DBG_IOCTL_INFO              0x00000400
#define BUS_DBG_IOCTL_ERROR             0x00000800

#define BUS_DBG_POWER_MASK              0x0000F000
#define BUS_DBG_POWER_NOISE             0x00001000
#define BUS_DBG_POWER_TRACE             0x00002000
#define BUS_DBG_POWER_INFO              0x00004000
#define BUS_DBG_POWER_ERROR             0x00008000


#if DBG
#define BUS_DEFAULT_DEBUG_OUTPUT_LEVEL 0x000FFFFF

#define Bus_KdPrint(_d_,_l_, _x_) \
            if (!(_l_) || (_d_)->DebugLevel & (_l_)) { \
               DbgPrint ("vusbbus.sys: "); \
               DbgPrint _x_; \
            }

#define Bus_KdPrint_Cont(_d_,_l_, _x_) \
            if (!(_l_) || (_d_)->DebugLevel & (_l_)) { \
               DbgPrint _x_; \
            }

#define Bus_KdPrint_Def(_l_, _x_) \
            if (!(_l_) || VUsbDebugLevel & (_l_)) { \
               DbgPrint ("vusbbus.sys: "); \
               DbgPrint _x_; \
            }

#define DbgRaiseIrql(_x_,_y_) KeRaiseIrql(_x_,_y_)
#define DbgLowerIrql(_x_) KeLowerIrql(_x_)
#else

#define BUS_DEFAULT_DEBUG_OUTPUT_LEVEL 0x0
#define Bus_KdPrint(_d_, _l_, _x_)
#define Bus_KdPrint_Cont(_d_, _l_, _x_)
#define Bus_KdPrint_Def(_l_, _x_)
#define DbgRaiseIrql(_x_,_y_)
#define DbgLowerIrql(_x_)

#endif

extern ULONG    VUsbDebugLevel;

//
// These are the states a PDO or FDO transition upon
// receiving a specific PnP Irp. Refer to the PnP Device States
// diagram in DDK documentation for better understanding.
//

typedef enum _DEVICE_PNP_STATE {
    NotStarted                                                                  = 0,         // Not started yet
    Started,                // Device has received the START_DEVICE IRP
    StopPending,            // Device has received the QUERY_STOP IRP
    Stopped,                // Device has received the STOP_DEVICE IRP
    RemovePending,          // Device has received the QUERY_REMOVE IRP
    SurpriseRemovePending,  // Device has received the SURPRISE_REMOVE IRP
    Deleted,                // Device has received the REMOVE_DEVICE IRP
    UnKnown                 // Unknown state
}    DEVICE_PNP_STATE;


typedef struct _GLOBALS {
    // 
    // Path to the driver's Services Key in the registry
    //

    UNICODE_STRING  RegistryPath;
} GLOBALS;


extern GLOBALS  Globals;


//
// A common header for the device extensions of the PDOs and FDO
//

typedef struct _COMMON_DEVICE_DATA {
    // A back pointer to the device object for which this is the extension

    PDEVICE_OBJECT      Self;

    // This flag helps distinguish between PDO and FDO

    BOOLEAN             IsFDO;

    // We track the state of the device with every PnP Irp
    // that affects the device through these two variables.

    DEVICE_PNP_STATE    DevicePnPState;

    DEVICE_PNP_STATE    PreviousPnPState;


    ULONG               DebugLevel;

    // Stores the current system power state

    SYSTEM_POWER_STATE  SystemPowerState;

    // Stores current device power state

    DEVICE_POWER_STATE  DevicePowerState;
} COMMON_DEVICE_DATA, *PCOMMON_DEVICE_DATA;

//
// The device extension for the PDOs.
// That's of the USB HASP device which this bus driver enumerates.
//

typedef struct _PDO_DEVICE_DATA {
    COMMON_DEVICE_DATA;

    // A back pointer to the bus

    PDEVICE_OBJECT  ParentFdo;

    // An array of (zero terminated wide character strings).
    // The array itself also null terminated

    PWCHAR          HardwareIDs;

    // Unique serail number of the device on the bus

    ULONG           SerialNo;

    // Link point to hold all the PDOs for a single bus together

    LIST_ENTRY      Link;

    //
    // Present is set to TRUE when the PDO is exposed via PlugIn IOCTL,
    // and set to FALSE when a UnPlug IOCTL is received. 
    // We will delete the PDO in IRP_MN_REMOVE only after we have reported 
    // to the Plug and Play manager that it's missing.
    //

    BOOLEAN         Present;
    BOOLEAN         ReportedMissing;
    UCHAR           Reserved[2]; // for 4 byte alignment

    //
    // Used to track the intefaces handed out to other drivers.
    // If this value is non-zero, we fail query-remove.
    //
    ULONG           VUsbInterfaceRefCount;

    //
    // In order to reduce the complexity of the driver, I chose not 
    // to use any queues for holding IRPs when the system tries to 
    // rebalance resources to accommodate a new device, and stops our 
    // device temporarily. But in a real world driver this is required. 
    // If you hold Irps then you should also support Cancel and 
    // Cleanup functions. The function driver demonstrates these techniques.
    //    
    // The queue where the incoming requests are held when
    // the device is stopped for resource rebalance.

    //LIST_ENTRY          PendingQueue;     

    // The spin lock that protects access to  the queue

    //KSPIN_LOCK          PendingQueueLock;     

    // 泥眄

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区一区| 日韩精品91亚洲二区在线观看| 这里是久久伊人| 欧美裸体一区二区三区| 在线视频亚洲一区| 色婷婷综合久久久久中文| 99国产精品视频免费观看| 成人午夜av电影| 色中色一区二区| 欧美亚洲一区二区在线| 884aa四虎影成人精品一区| 欧美日本国产视频| 日韩精品影音先锋| 中文字幕欧美三区| 亚洲免费视频成人| 亚洲第四色夜色| 久久不见久久见中文字幕免费| 麻豆91免费看| 国产91综合网| 一本久久精品一区二区| 欧美日韩在线免费视频| 欧美成人女星排名| 国产精品久久影院| 丝袜国产日韩另类美女| 国产精品一区二区你懂的| av在线综合网| 4438x亚洲最大成人网| 国产欧美日韩综合| 亚洲精品国产一区二区精华液| 三级精品在线观看| 成人午夜av影视| 欧美日韩免费高清一区色橹橹| wwww国产精品欧美| 亚洲激情图片一区| 捆绑调教美女网站视频一区| 91影视在线播放| 日韩久久久精品| 亚洲乱码精品一二三四区日韩在线 | 麻豆91在线播放| 成人免费看片app下载| 欧美日韩亚洲综合一区| 日本一区二区三区电影| 日本中文字幕一区二区视频| 成人av资源下载| 日韩精品一区二区三区在线| 亚洲人成在线观看一区二区| 久久99热99| 精品视频1区2区3区| 一区二区视频在线| 国产美女主播视频一区| 91精品国产综合久久香蕉的特点| 中文字幕高清不卡| 久久国产精品色婷婷| 欧美人体做爰大胆视频| 亚洲精选在线视频| av成人动漫在线观看| 欧美成人三级电影在线| 日韩av网站免费在线| 欧美日韩一本到| 亚洲国产精品一区二区www在线| 成人免费毛片a| 国产拍欧美日韩视频二区| 老司机精品视频在线| 欧美久久久久久久久久| 亚洲一区二区三区四区中文字幕| av电影一区二区| 亚洲欧洲另类国产综合| 国产999精品久久久久久绿帽| 精品国产乱码久久久久久闺蜜 | 欧美日韩国产小视频| 亚洲猫色日本管| 99久久免费视频.com| 亚洲视频每日更新| 99久久亚洲一区二区三区青草| 国产精品色呦呦| 成人一级视频在线观看| 久久久精品tv| 成人国产精品免费| 国产精品乱码一区二区三区软件| 国产一区免费电影| 国产免费观看久久| www.在线成人| 一区二区三区欧美久久| 欧美少妇性性性| 久久99国产精品成人| 久久色.com| 99精品视频在线免费观看| 亚洲色图欧美激情| 欧美日韩情趣电影| 裸体在线国模精品偷拍| 国产亚洲欧美中文| 色综合久久88色综合天天6| 亚洲国产成人va在线观看天堂| 欧美一区二区视频在线观看 | 成人高清视频在线| 一区二区日韩av| 日韩精品一区在线观看| 不卡的av电影| 午夜精品久久久久久久99樱桃| 欧美mv日韩mv国产网站app| 成人高清免费观看| 亚洲aaa精品| 亚洲国产精品ⅴa在线观看| 精品国产一区二区三区av性色| 91精品国产高清一区二区三区| 亚洲欧美偷拍三级| 日韩欧美第一区| 99久久婷婷国产精品综合| 免费在线观看一区| 日本一区二区综合亚洲| 欧美性大战久久久| 国产乱码精品一区二区三区五月婷| 国产精品成人在线观看 | 亚洲在线免费播放| 日韩欧美卡一卡二| 97久久精品人人澡人人爽| 亚洲妇女屁股眼交7| 欧美激情艳妇裸体舞| 欧美日韩精品免费观看视频 | 亚洲精品午夜久久久| 欧美第一区第二区| 欧美色欧美亚洲另类二区| 成人丝袜高跟foot| 午夜精品久久久久久久久久久| 国产精品免费av| 欧美电影免费观看高清完整版在线 | 国产精品视频一二三| 欧美男女性生活在线直播观看 | 亚洲精品一二三| 久久久精品影视| 欧美一区二区视频网站| 91女人视频在线观看| 国产麻豆日韩欧美久久| 日产精品久久久久久久性色| 亚洲裸体xxx| 亚洲人成网站在线| 国产精品国产三级国产专播品爱网 | 国产午夜久久久久| 欧美一区二区三级| 欧美日韩中文另类| 欧美无人高清视频在线观看| 99久久99久久综合| 成人免费视频app| 国产成人av电影在线观看| 美腿丝袜亚洲综合| 美女一区二区久久| 欧美aⅴ一区二区三区视频| 天堂av在线一区| 日韩精品亚洲一区| 蜜桃视频一区二区| 美国欧美日韩国产在线播放| 免费三级欧美电影| 日产国产欧美视频一区精品| 日本女优在线视频一区二区| 日韩精品久久理论片| 日韩国产欧美在线视频| 日本欧美加勒比视频| 久久精品国产精品亚洲红杏| 九色综合国产一区二区三区| 久久精品国产免费看久久精品| 久久精品国产亚洲aⅴ| 国产精品中文字幕日韩精品| 懂色av一区二区夜夜嗨| 成人精品高清在线| 91在线免费视频观看| 在线亚洲高清视频| 欧美日韩mp4| 精品欧美一区二区三区精品久久 | 五月婷婷另类国产| 久久国产视频网| 国产成人在线视频播放| 99久久免费精品高清特色大片| 色婷婷综合在线| 日韩欧美一级二级| 亚洲国产精品激情在线观看| 一区二区三区自拍| 免费欧美在线视频| jlzzjlzz亚洲日本少妇| 欧美日韩一区国产| 久久人人97超碰com| 亚洲啪啪综合av一区二区三区| 日日夜夜精品视频免费| 国产精品一二三在| 在线日韩一区二区| 久久网这里都是精品| 亚洲夂夂婷婷色拍ww47| 蜜桃视频一区二区| 99re热这里只有精品视频| 日韩欧美不卡在线观看视频| 国产精品萝li| 美腿丝袜亚洲综合| 91精彩视频在线| 中文字幕乱码亚洲精品一区| 亚洲成人一区在线| av色综合久久天堂av综合| 精品国精品国产| 午夜亚洲福利老司机| caoporn国产精品| 久久免费美女视频| 亚洲1区2区3区4区|