//*****************************************************************************************
// 
//		Copyright (c) 2006 DT Research, Inc. Corporation.  All rights reserved.
//
//--------------File Info---------------------------------------------------------------------
// File Name: 				DTRControlSuspend.h
// Last modified Date: 		2010-12-21
// Last Version:			V1.0		
// Description: 			Implement an API to Suspend of DT SDK.
// 							Use the Keypad IOCTL to export this feature.                       
//------------------------------------------------------------------------------------------
// Created By:				yyang
// Created date: 			2010-12-21
// Version: 				V1.0
// Descriptions:			The original version
//
//------------------------------------------------------------------------------------------
// Modified by:
// Modified date:
// Version:
// Description:
//
//******************************************************************************************

#ifndef __DTR_CONTROL_SUSPEND__
#define __DTR_CONTROL_SUSPEND__


// When user on/off Wi-Fi,can not suspend
#define  E_ERROR_SETWIFI _HRESULT_TYPEDEF_(0x81000001L) 

// The interval between twice suspend must > 14sec
#define  E_ERROR_WAIT   _HRESULT_TYPEDEF_(0x81000002L) 

#ifdef DTRCONTROLSUSPEND_EXPORTS
#define DTRCONTROLSUSPEND_API extern"C" __declspec(dllexport)
#else
#define DTRCONTROLSUSPEND_API __declspec(dllimport)
#endif


DTRCONTROLSUSPEND_API HRESULT DTRControlSuspend(BOOL bfullsuspend);

#endif//__DTR_CONTROL_SUSPEND__