diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/Input/in_wmvdrm/loadini.cpp | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/Plugins/Input/in_wmvdrm/loadini.cpp')
-rw-r--r-- | Src/Plugins/Input/in_wmvdrm/loadini.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Src/Plugins/Input/in_wmvdrm/loadini.cpp b/Src/Plugins/Input/in_wmvdrm/loadini.cpp new file mode 100644 index 00000000..482abeb7 --- /dev/null +++ b/Src/Plugins/Input/in_wmvdrm/loadini.cpp @@ -0,0 +1,12 @@ +#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); + } +}
\ No newline at end of file |