⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data.h

📁 ril source code for Windows CE
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

Module Name:

data.h

Abstract:


Notes:


--*/

#pragma once


#define DATA_ALLOC_NUMBER        16


//
// Connection speeds
//
extern const DWORD g_rgdwConnSpeeds[];
extern const size_t ConnSpeedsEcount;
#define NUM_CONNSPEEDS (ConnSpeedsEcount)


//
// HSCSD channel codings
//
extern const DWORD g_rgdwHSCSDCodings[];
extern const size_t HscsdCodingsEcount;
#define NUM_HSCSDCODINGS (HscsdCodingsEcount)


//
// HSCSD air interface user rates
//
extern const DWORD g_rgdwHSCSDAirRates[];
extern const size_t HscsdAirRatesEcount;
#define NUM_HSCSDAIRRATES (HscsdAirRatesEcount)



HRESULT RILDrv_GetHSCSDOptions(DWORD dwParam);
HRESULT RILDrv_SetHSCSDOptions(DWORD dwParam, const RILHSCSDINFO* lpHscsdInfo);
HRESULT RILDrv_GetHSCSDCallSettings(DWORD dwParam);
HRESULT RILDrv_GetBearerServiceOptions(DWORD dwParam);
HRESULT RILDrv_SetBearerServiceOptions(DWORD dwParam, const RILBEARERSVCINFO* lpBearerServiceInfo);
HRESULT RILDrv_GetRLPOptions(DWORD dwParam);
HRESULT RILDrv_SetRLPOptions(DWORD dwParam, const RILRLPINFO* lpRlpInfo);
HRESULT RILDrv_GetDataCompression (DWORD dwParam);
HRESULT RILDrv_SetDataCompression (DWORD dwParam, const RILDATACOMPINFO* lpDataCompInfo);
HRESULT RILDrv_GetErrorCorrection (DWORD dwParam);
HRESULT RILDrv_SetErrorCorrection (DWORD dwParam, const RILERRORCORRECTIONINFO* lpErrorCorrectionInfo);

HRESULT RILDrv_GetPacketByteCount(DWORD dwParam);
HRESULT RILDrv_ResetPacketByteCount(DWORD dwParam);

HRESULT ParseGetDevCapsDataCompression(LPCSTR szRsp, void*& pBlob, UINT& cbBlob);
HRESULT ParseGetDevCapsErrorCorrection(LPCSTR szRsp, void*& pBlob, UINT& cbBlob);
HRESULT RILDrv_SetATLogging(DWORD dwParam, BOOL fEnable);
HRESULT RILDrv_ATLogFile(DWORD dwParam, const TCHAR *pszFilename);
HRESULT RILDrv_GetSerialPortHandleFromContextID(DWORD dwContextID, __out_bcount( dwSize ) TCHAR *tszDataPortName, DWORD dwSize, DWORD *pdwSizeOut);
HRESULT RILDrv_GetVTSerialPortHandle(TCHAR *tszVTPortName, DWORD dwSize, DWORD *pdwSizeOut);


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -