ddientry.cpp

来自「ARM9基于WINDOWSCE的BSP源代码」· C++ 代码 · 共 51 行

CPP
51
字号
/*
*
* 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.
*
* Copyright (c) 1995-1998  Microsoft Corporation
*
* Release Status:OS005-SW-70002-r0p0-00REL0
* $Copyright: 
* ----------------------------------------------------------------
* This confidential and proprietary software may be used only as
* authorised by a licensing agreement from ARM Limited
*   (C) COPYRIGHT 2004 ARM Limited
*       ALL RIGHTS RESERVED
* The entire notice above must be reproduced on all authorised
* copies and copies may only be made to the extent permitted
* by a licensing agreement from ARM Limited.
* ----------------------------------------------------------------
* File:     ddientry.cpp,v
* Revision: 1.1
* ----------------------------------------------------------------
* $
* Module Name:
*	ddientry.cpp
*
* Abstract:
*	Standard DDI function(s) to be exported
*
*/

#include <windows.h>
#include <winddi.h>

BOOL APIENTRY GPEEnableDriver(          // This gets around problems exporting from .lib
    ULONG          iEngineVersion,
    ULONG          cj,
    DRVENABLEDATA *pded,
    PENGCALLBACKS  pEngCallbacks);

BOOL APIENTRY DrvEnableDriver(			// The only function in DDI need to be exported
    ULONG          iEngineVersion,
    ULONG          cj,
    DRVENABLEDATA *pded,
    PENGCALLBACKS  pEngCallbacks)
{
    return GPEEnableDriver( iEngineVersion, cj, pded, pEngCallbacks );
}

⌨️ 快捷键说明

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