1
0

loadini.cpp 285 B

123456789101112
  1. #include "main.h"
  2. #include "loadini.h"
  3. #include "AutoWide.h"
  4. #include "../Winamp/wa_ipc.h"
  5. extern wchar_t INI_FILE[MAX_PATH];
  6. void IniFile(HWND hMainWindow)
  7. {
  8. if (!INI_FILE[0])
  9. {
  10. lstrcpyn(INI_FILE, (wchar_t *)SendMessage(hMainWindow, WM_WA_IPC, 0, IPC_GETINIFILEW), MAX_PATH);
  11. }
  12. }