⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emsanimation.cpp

📁 WIndows mobile 5.0 pocket pc sdk sample for win32
💻 CPP
字号:
//
// 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.
//
/******************************************************************************

	File: EMSAnimation.cpp
    
    Purpose: Implement EMS processing for predefined and userdefined animations

******************************************************************************/
#include "SDKEMSViewerRuleClient.h"

/******************************************************************************

    CEMSPredefinedAnimation::CEMSPredefinedAnimation - C'TOR 

    Params:
    See base class

    Returns:
    Nothing

    Remarks:

******************************************************************************/
CEMSPredefinedAnimation::CEMSPredefinedAnimation(LPBYTE lpData, ULONG cbData, ULONG ulBaseOffset, LPCTSTR szUserData) :
CEMSBaseObject(lpData, cbData, ulBaseOffset, szUserData),
m_eAnimation(EMSPA_IAMIRONICFLIRTY)
{
    //Initialize and chain to base class
}

/******************************************************************************

    CEMSPredefinedAnimation::ValidateData - 

    Params:
    None

    Returns:
    TRUE on success, FALSE OTW

    Remarks:

******************************************************************************/
BOOL CEMSPredefinedAnimation::ValidateData()
{
    return TRUE;
}

/******************************************************************************

    CEMSPredefinedAnimation::ExtractInfoFromHeader - 

    Params:
    None

    Returns:
    TRUE on success FALSE OTW

    Remarks:

******************************************************************************/
BOOL CEMSPredefinedAnimation::ExtractInfoFromHeader()
{
    return TRUE;
}    

/******************************************************************************

    CEMSPredefinedAnimation::ToString - Convert to string that the custom form 
        will recognize

    Params:
    ppszObjectData[in/out] - pointer where string will be written
    
    Returns:
    TRUE on success, FALSE OTW

    Remarks:
    Format is - [ID][Offset][Index][Text Len][Text]


******************************************************************************/
BOOL CEMSPredefinedAnimation::ToString(LPTSTR* ppszObjectData)
{
    return TRUE;
}

/******************************************************************************

    CEMSAnimation::CEMSAnimation - C'TOR

    Params:
    See base class

    Returns:
    Nothing

    Remarks:

******************************************************************************/
CEMSAnimation::CEMSAnimation(LPBYTE lpData, ULONG cbData, ULONG ulBaseOffset, LPCTSTR szUserData, int iType) :
CEMSBaseObject(lpData, cbData, ulBaseOffset, szUserData),
m_uRes(0)
{
}

/******************************************************************************

    - 

    Params:

    Returns:

    Remarks:

******************************************************************************/
CEMSAnimation::~CEMSAnimation()
{
}

/******************************************************************************

    CEMSAnimation::ValidateData - 

    Params:

    Returns:

    Remarks:

******************************************************************************/
BOOL CEMSAnimation::ValidateData()
{
    return TRUE;
}

/******************************************************************************

    CEMSAnimation::ExtractInfoFromHeader -  

    Params:
    None

    Returns:
    TRUE on success, FALSE OTW

    Remarks:
    

******************************************************************************/
BOOL CEMSAnimation::ExtractInfoFromHeader()
{
    return TRUE;
}

/******************************************************************************

    CEMSAnimation::ToString - Convert to string that the custom form will 
        recognize

    Params:
    ppszObjectData[in/out] - pointer where string will be written
    
    Returns:
    TRUE on success, FALSE OTW

    Remarks:
    Format is - [ID][Offset][Frame1][Frame2][Frame3][Frame4][Text Len][Text] 
    
******************************************************************************/
BOOL CEMSAnimation::ToString(LPTSTR* ppszObjectData)
{
    return TRUE;
}

⌨️ 快捷键说明

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