wince.c

来自「edb9315 wince4.2最新的bsp代码」· C语言 代码 · 共 91 行

C
91
字号
//
// 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.
//

//
// 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 + =
减小字号Ctrl + -
显示快捷键?