network.h
来自「ril source code for Windows CE」· C头文件 代码 · 共 68 行
H
68 行
//
// 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:
network.h
Abstract:
Notes:
--*/
#pragma once
#define NETWK_CMDBUF_LENGTH (MAX_PATH + MAXLENGTH_OPERATOR)
#define NETWK_ALLOC_NUMBER 1
//
// Registration status values
//
extern const DWORD g_rgdwRegStats[];
extern const size_t fRegStatsEcount;
#define NUM_REGSTATS (fRegStatsEcount)
//
// Operator numeric name to operator long name map
//
struct OPERATORNAMEMAP {
UINT nNumericName;
LPCSTR szLongName;
LPCSTR szCountryCode;
};
HRESULT RILDrv_GetSubscriberNumbers(DWORD dwParam);
HRESULT RILDrv_GetOperatorList(DWORD dwParam);
HRESULT RILDrv_GetPreferredOperatorList(DWORD dwParam, DWORD dwFormat);
HRESULT RILDrv_AddPreferredOperator(DWORD dwParam, DWORD dwIndex, const RILOPERATORNAMES* lpOperatorNames);
HRESULT RILDrv_RemovePreferredOperator(DWORD dwParam, DWORD dwIndex);
HRESULT RILDrv_GetCurrentOperator(DWORD dwParam, DWORD dwFormat);
HRESULT RILDrv_RegisterOnNetwork(DWORD dwParam, DWORD dwMode, const RILOPERATORNAMES* lpOperatorNames);
HRESULT RILDrv_UnregisterFromNetwork(DWORD dwParam);
HRESULT RILDrv_GetRegistrationStatus(DWORD dwParam);
HRESULT RILDrv_GetAllOperatorsList(DWORD dwParam);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?