rilmain.h

来自「ril source code for Windows CE」· C头文件 代码 · 共 70 行

H
70
字号
//
// 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:

rilmain.h

Abstract:


Notes:


--*/

#pragma once

#include "rilsimtkit.h"     // Needed for CRilSTKTerminalProfile class
#include "rilpdd.h" // Needed for RILPDDParams

extern const char *g_pcszCPHS;

#ifdef RIL_ENABLE_EONS
#include <eons.h>
extern EONS      g_eons;
extern EONSCache g_eonscache;
#endif

//
#define MAX_DRIVERINIT_TIME    10000

// Globals
extern CRITICAL_SECTION g_csClosing;
extern HANDLE g_hCriticalErrorEvent;
extern HANDLE g_hNewDialOrHangupEvent;
extern DWORD g_dwReadyState;
extern DWORD g_dwRegStatus;
extern DWORD g_dwGPRSRegStatus;

extern DWORD g_dwLastCLIP;
extern DWORD g_dwLastCLIR;

extern CRilSTKTerminalProfile g_RilSTKTerminalProfile;

extern const RILPDDParams* g_rppPDDParams;

// Functions
HRESULT RILDrv_GetNextNotification(DWORD dwParam, RILDRVNOTIFICATION* lpRilDrvNotification);
HRESULT RILDrv_GetSerialPortStatistics(DWORD dwParam, RILSERIALPORTSTATS* lpSerialPortStats);
BOOL ClearCmdHandle(void* pItem, DWORD dwDummy);
CRilInstanceHandle* const ExtractHandle(const DWORD dwParam, BOOL bOverrideEmergency = FALSE);


void SignalCriticalError(DWORD dwEventId, DWORD dwLineNum, const char *lpszFileName);

⌨️ 快捷键说明

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