winamp/Src/Plugins/Input/in_wmvdrm/loadini.cpp
2024-09-24 14:54:57 +02:00

12 lines
No EOL
285 B
C++

#include "main.h"
#include "loadini.h"
#include "AutoWide.h"
#include "../Winamp/wa_ipc.h"
extern wchar_t INI_FILE[MAX_PATH];
void IniFile(HWND hMainWindow)
{
if (!INI_FILE[0])
{
lstrcpyn(INI_FILE, (wchar_t *)SendMessage(hMainWindow, WM_WA_IPC, 0, IPC_GETINIFILEW), MAX_PATH);
}
}