#pragma once

//#include "fmpmd/fmpmd.h"

struct KbPMD_Settings
{
    int nVolFM;
    int nVolSSG;
    int nVolRhythm;
    int nVolADPCM;
    int nVolPPZ;
    bool bPartMask[24];
};

class IKpiConfig;
class IKpiConfigEnumerator;

BOOL  __fastcall kbpmd_EnumConfig(IKpiConfig* pConfig, IKpiConfigEnumerator* pEnumerator);
DWORD __fastcall kbpmd_ApplyConfig(IKpiConfig* pConfig,
                                   const wchar_t* cszSection, //セクション名
                                   const wchar_t* cszKey, //キー名
                                   INT64  nValue, //変更後の値(BOOL/INT の場合)
                                   double dValue, //変更後の値(FLOAT の場合)
                                   const wchar_t* cszValue);//変更後の値(文字列)
void __fastcall kbpmd_GetSettings(IKpiConfig* pConfig, KbPMD_Settings* pSettings);
