📄 fsddriver.cpp
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// This source code is licensed under Microsoft Shared Source License
// Version 1.0 for Windows CE.
// For a copy of the license visit http://go.microsoft.com/fwlink/?LinkId=3223.
//
/*++
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.
--*/
#include <windows.h>
#include <winerror.h>
#include <diskio.h>
#include <fsdmgrp.h>
#include <storemain.h>
/*****************************************************************************/
/* This driver exists only to cause the FSDMGR to get loaded into the
* system.
*/
/*****************************************************************************/
#ifdef UNDER_CE
DWORD Init(DWORD dwContext)
{
DEBUGMSG( ZONE_INIT, (L"FSDMGR!FSD_Init Key=%08X\r\n", dwContext));
if (!InitStorageManager(dwContext)) {
DEBUGMSG( ZONE_INIT, (L"FSDMGR!FSD_Init - Failed initializing storage manager...Aborting\r\n"));
return FALSE;
}
return 1;
}
DWORD Deinit()
{
// We never ever expect this to be called;
ASSERT(0);
return FALSE;
}
#endif // UNDER_CE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -