📄 wince.c
字号:
//**********************************************************************
//
// Filename: wince.c
//
// Description: Contains Windows CE specific initialization and debug code
// for this miniport.
//
// 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.
//
// Use of this source code is subject to the terms of the Cirrus 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
// EULA.RTF on your install media.
//
// Copyright(c) Cirrus Logic Corporation 2005, All Rights Reserved
//
//**********************************************************************
//
// 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 EULA.RTF on your
// install media.
//
//
// Copyright (c) 1992-1995 by
// Digital Equipment Corporation, Maynard, Massachusetts.
// All rights reserved.
//
/*++
Module Name: wince.c
Abstract: Contains Windows CE specific initialization and debug code
for this miniport.
Contents:
--*/
#include <ndis.h>
//
// Debug settings.
//
#ifdef DEBUG
DBGPARAM dpCurSettings =
{
TEXT("CS8950"),
{
TEXT("Init"),
TEXT("RecvErr"),
TEXT("SendErr"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Undefined"),
TEXT("Warning"),
TEXT("Error")
},
0x0000C001
};
#endif // DEBUG
//
// DllEntry.
//
BOOL
DllEntry(
HANDLE hInstDll,
DWORD dwOp,
LPVOID lpvReserved)
{
switch (dwOp)
{
case DLL_PROCESS_ATTACH:
DEBUGREGISTER(hInstDll);
DisableThreadLibraryCalls ((HMODULE)hInstDll);
break;
case DLL_PROCESS_DETACH:
default:
break;
}
return (TRUE);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -