Use windef.h typedefs

This commit is contained in:
disinvite 2025-08-05 22:51:55 -04:00
parent 374a248771
commit 6691e0a08f
2 changed files with 4 additions and 4 deletions

View File

@ -49,8 +49,8 @@ class LegoCacheSound : public MxCore {
void SetDistance(MxS32 p_min, MxS32 p_max);
void MuteSilence(MxBool p_muted);
void MuteStop(MxBool p_mute);
MxResult GetFrequency(MxULong* p_freq);
MxResult SetFrequency(MxULong p_freq);
MxResult GetFrequency(LPDWORD p_freq);
MxResult SetFrequency(DWORD p_freq);
LegoCacheSound& operator=(LegoCacheSound& p_sound);
void CopyFrom(LegoCacheSound& p_sound);

View File

@ -318,13 +318,13 @@ void LegoCacheSound::MuteStop(MxBool p_muted)
}
// FUNCTION: BETA10 0x10066f4d
MxResult LegoCacheSound::GetFrequency(MxULong* p_freq)
MxResult LegoCacheSound::GetFrequency(LPDWORD p_freq)
{
return m_dsBuffer->GetFrequency(p_freq);
}
// FUNCTION: BETA10 0x10066f7b
MxResult LegoCacheSound::SetFrequency(MxULong p_freq)
MxResult LegoCacheSound::SetFrequency(DWORD p_freq)
{
return m_dsBuffer->SetFrequency(p_freq);
}