iMONDisplayWrapper.h
author sl
Mon, 17 Mar 2014 12:38:39 +0100
changeset 3 d5f6b2119a13
parent 1 d9a866996670
permissions -rw-r--r--
Fixing init result issue.
sl@0
     1
//------------------------------------------------------------------------------
sl@0
     2
#ifndef IMONDISPLAYWRAPPER_H_INCLUDED
sl@0
     3
#define IMONDISPLAYWRAPPER_H_INCLUDED
sl@0
     4
//------------------------------------------------------------------------------
sl@0
     5
#include "iMONDisplayDefines.h"
sl@0
     6
#include <windows.h>
sl@0
     7
//------------------------------------------------------------------------------
sl@0
     8
#ifdef IMONDISPLAYWRAPPER_EXPORTS
sl@0
     9
#define IMONDSPWRAPPER __declspec(dllexport)
sl@0
    10
#else
sl@0
    11
#define IMONDSPWRAPPER __declspec(dllimport)
sl@0
    12
#endif
sl@0
    13
//------------------------------------------------------------------------------
sl@0
    14
typedef struct _IDW_INITRESULT
sl@1
    15
	{
sl@1
    16
	DSPNotifyCode iNotification;
sl@1
    17
	DSPNInitResult iInitResult;
sl@1
    18
	DSPType iDspType;
sl@1
    19
	} IDW_INITRESULT;
sl@2
    20
sl@2
    21
//------------------------------------------------------------------------------
sl@2
    22
typedef struct _IDW_STATUS
sl@2
    23
	{
sl@2
    24
	DSPNotifyCode iNotification;
sl@2
    25
	} IDW_STATUS;
sl@2
    26
sl@0
    27
//------------------------------------------------------------------------------
sl@0
    28
#ifdef __cplusplus
sl@0
    29
extern "C" 
sl@0
    30
{
sl@0
    31
#endif
sl@0
    32
//------------------------------------------------------------------------------
sl@0
    33
IMONDSPWRAPPER DSPResult IDW_Init(IDW_INITRESULT* pInitResult);
sl@0
    34
IMONDSPWRAPPER DSPResult IDW_Uninit();
sl@2
    35
IMONDSPWRAPPER DSPResult IDW_IsInitialized();
sl@0
    36
IMONDSPWRAPPER DSPResult IDW_IsPluginModeEnabled();
sl@2
    37
IMONDSPWRAPPER DSPResult IDW_GetStatus(IDW_STATUS* aStatus);
sl@0
    38
IMONDSPWRAPPER DSPResult IDW_SetVfdText(LPCWSTR lpszLine1, LPCWSTR lpszLine2);
sl@0
    39
IMONDSPWRAPPER DSPResult IDW_SetVfdEqData(PDSPEQDATA pEqData);
sl@0
    40
IMONDSPWRAPPER DSPResult IDW_SetLcdText(LPCWSTR lpszLine1);
sl@0
    41
IMONDSPWRAPPER DSPResult IDW_SetLcdEqData(PDSPEQDATA pEqDataL, PDSPEQDATA pEqDataR);
sl@0
    42
IMONDSPWRAPPER DSPResult IDW_SetLcdAllIcons(BOOL bOn);
sl@0
    43
IMONDSPWRAPPER DSPResult IDW_SetLcdOrangeIcon(BYTE btIconData1, BYTE btIconData2);
sl@0
    44
IMONDSPWRAPPER DSPResult IDW_SetLcdMediaTypeIcon(BYTE btIconData);
sl@0
    45
IMONDSPWRAPPER DSPResult IDW_SetLcdSpeakerIcon(BYTE btIconData1, BYTE btIconData2);
sl@0
    46
IMONDSPWRAPPER DSPResult IDW_SetLcdVideoCodecIcon(BYTE btIconData);
sl@0
    47
IMONDSPWRAPPER DSPResult IDW_SetLcdAudioCodecIcon(BYTE btIconData);
sl@0
    48
IMONDSPWRAPPER DSPResult IDW_SetLcdAspectRatioIcon(BYTE btIconData);
sl@0
    49
IMONDSPWRAPPER DSPResult IDW_SetLcdEtcIcon(BYTE btIconData);
sl@0
    50
IMONDSPWRAPPER DSPResult IDW_SetLcdProgress(int nCurPos, int nTotal);
sl@0
    51
//------------------------------------------------------------------------------
sl@0
    52
#ifdef __cplusplus
sl@0
    53
}
sl@0
    54
#endif
sl@0
    55
//------------------------------------------------------------------------------
sl@0
    56
#endif
sl@0
    57
//------------------------------------------------------------------------------