?? off.c
字號:
// Copyright (c) David Vescovi. All rights reserved.
// Part of Project DrumStix
// Windows Embedded Developers Interest Group (WE-DIG) community project.
// http://www.we-dig.org
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
//
// File: off.c
//
// Support routines for power transition.
//
// Note: this routines are stubbed out for now.
//
//------------------------------------------------------------------------------
#include <windows.h>
#include <oal.h>
//------------------------------------------------------------------------------
//
// Function: OEMPowerOff
//
// Description: Called when the system is to transition to it's lowest
// power mode (off)
//
void OEMPowerOff()
{
}
//------------------------------------------------------------------------------
//
// Function: OALIoCtlHalPresuspend
//
// Description:
//
BOOL OALIoCtlHalPresuspend(
UINT32 code, VOID* pInpBuffer, UINT32 inpSize, VOID* pOutBuffer,
UINT32 outSize, UINT32 *pOutSize
) {
return TRUE;
}
#if 0
//------------------------------------------------------------------------------
//
// Function: OALIoCtlHalEnableWake
//
// Description:
//
BOOL OALIoCtlHalEnableWake(
UINT32 code, VOID* pInpBuffer, UINT32 inpSize, VOID* pOutBuffer,
UINT32 outSize, UINT32 *pOutSize
) {
return TRUE;
}
//------------------------------------------------------------------------------
//
// Function: OALIoCtlHalDisableWake
//
// Description:
//
BOOL OALIoCtlHalDisableWake(
UINT32 code, VOID* pInpBuffer, UINT32 inpSize, VOID* pOutBuffer,
UINT32 outSize, UINT32 *pOutSize
) {
return TRUE;
}
//------------------------------------------------------------------------------
//
// Function: OALIoCtlHalDisableWake
//
// Description:
//
BOOL OALIoCtlHalGetWakeSource(
UINT32 code, VOID* pInpBuffer, UINT32 inpSize, VOID* pOutBuffer,
UINT32 outSize, UINT32 *pOutSize
) {
return TRUE;
}
#endif //0.
//------------------------------------------------------------------------------
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -