📄 btdriverstream.h
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
#ifndef __BTDRIVERSTREAM__
#define __BTDRIVERSTREAM__
#include <windows.h>
#include <cardserv.h>
#include <tuple.h>
#include <cardapi.h>
#include <pkfuncs.h>
#include <devload.h>
#define OURIDENTIFIER 123789
//The size of our receivebuffer
#define INITIALRECEIVEBUFFERSIZE (8 * 1024)
//The size of our Tx-buffer
#define DEFAULT_TX_BUFFER_SIZE (8 * 1024)
//Buffer size of temp buffer used to hold data from RxFIFO
#define RXFIFOBUFFERSIZE 256
//How much space must be left in rx-buffer before stopping flow
#define STOP_FLOW 1024
#define RESTART_FLOW 2048
//Changes made for porting by JD begins
#include "ntcompat.h"
//Changes made for porting by JD ends
#if defined (DEBUG)
#define ZONE_INIT DEBUGZONE(0)
#define ZONE_TRACE DEBUGZONE(1)
#define ZONE_READ DEBUGZONE(2)
#define ZONE_WRITE DEBUGZONE(3)
#define ZONE_INTERRUPTS DEBUGZONE(4)
#define ZONE_WARN DEBUGZONE(14)
#define ZONE_ERROR DEBUGZONE(15)
#endif
#include "DataBuffer.h"
#include "Wcebtdef.h"
#include "PCCARD.h"
#include "BTpcmciadefs.h"
#include "prototypes.h"
extern CRITICAL_SECTION g_CS;
extern PWSSBTCLIENT_CONTEXT g_pCC;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -