📄 prototypes.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 __BTWSSPROTOTYPES__
#define __BTWSSPROTOTYPES__
void BTWSSLedStart (DWORD ioBase);
void BTWSSLedStop (void);
void BTWSSLedBlink (void);
BOOLEAN InterruptServiceRoutine (PVOID ServiceContext);
// The following execute under critical section
void EnableInterrupts(PWSSBTCLIENT_CONTEXT ptrcc);
void EnableInterrupt(PWSSBTCLIENT_CONTEXT ptrcc, BYTE interrupt);
void DisableInterrupts(PWSSBTCLIENT_CONTEXT ptrcc);
void DisableInterrupt(PWSSBTCLIENT_CONTEXT ptrcc, BYTE interrupt);
void BTWSSInterruptRead(PWSSBTCLIENT_CONTEXT ptrcc, BYTE reason);
void BTWSSWriteFromSendBuffer(PWSSBTCLIENT_CONTEXT ptrcc);
void RxInit(PWSSBTCLIENT_CONTEXT ptrcc);
int BTWSSResetCard(PWSSBTCLIENT_CONTEXT ptrcc);
int BTWSSSetRTSState(PWSSBTCLIENT_CONTEXT ptrcc, int fOn);
///////////////////////////////////////////////////////
// PROT0TYPING
///////////////////////////////////////////////////////
#ifdef __cplusplus
extern "C"
{
#endif
DWORD WBT_Init(DWORD dwContext);
BOOL WBT_Deinit(DWORD dwClientContext);
DWORD WBT_Open(DWORD dwClientContext, DWORD dwAccess, DWORD dwShareMode);
BOOL WBT_Close(DWORD dwOpenContext);
DWORD WBT_Read(DWORD dwOpenContext, LPVOID pBuffer, DWORD dwNumBytes);
DWORD WBT_Write(DWORD dwOpenContext, LPCVOID pBuffer, DWORD dwNumBytes);
DWORD WBT_Seek(DWORD dwOpenContext, long lDistance, DWORD dwMoveMethod);
BOOL WBT_IOControl(DWORD dwOpenContext, DWORD dwIoControlCode, PBYTE pInBuf,
DWORD nInBufSize, PBYTE pOutBuf, DWORD nOutBufSize,
PDWORD pBytesReturned);
void WBT_PowerUp(void);
void WBT_PowerDown(void);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -