mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
12 lines
285 B
C++
12 lines
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);
|
||
|
}
|
||
|
}
|