📄 ceddk.c
字号:
//
// 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.
//
/* -*-C-*-
*
* Abstract:
*
* WINCE device driver support routines. This file supports
* a very minimal subset of the routines from ntddk.h
*
* 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.
*
* 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: ceddk.c,v
* Revision: 1.1
* ----------------------------------------------------------------
* $
*
*/
#include <windows.h>
#include <types.h>
#include "ceddk.h"
/*
* @func CeDdkEntry
*
* Process attach/detach api.
*
* @rdesc
*
* The return is a BOOL, representing success (TRUE) or failure (FALSE).
*/
BOOL CeDdkEntry(HINSTANCE hinstDll, DWORD dwReason, LPVOID lpReserved)
{
if (dwReason == DLL_PROCESS_ATTACH)
{
#if 0
DEBUGREGISTER(hinstDll);
DEBUGMSG (ZONE_INIT, (TEXT("CEDDK process attach\r\n")));
#endif /* 0/1 */
DisableThreadLibraryCalls((HMODULE) hinstDll);
}
if (dwReason == DLL_PROCESS_DETACH)
{
#if 0
DEBUGMSG (ZONE_INIT, (TEXT("CEDDK process detach called\r\n")));
#endif /* 0/1 */
}
return TRUE;
}
/* EOF ceddk.c */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -