mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 15:01:02 -05: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);
|
||
|
}
|
||
|
}
|