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