summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src/wumf.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-14 14:01:46 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-14 14:01:46 +0000
commitfd8eefffc4b86f389c72e9cb88cf34533c759657 (patch)
treeaaecb31622cc6c649e5f51db5f9309bb23961124 /plugins/WhoUsesMyFiles/src/wumf.h
parenta42cae3b61b4696346033cbc257198f2708af486 (diff)
try to add unicode support
git-svn-id: http://svn.miranda-ng.org/main/trunk@4024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/wumf.h')
-rw-r--r--plugins/WhoUsesMyFiles/src/wumf.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/plugins/WhoUsesMyFiles/src/wumf.h b/plugins/WhoUsesMyFiles/src/wumf.h
index f817d6dbf9..173a09703f 100644
--- a/plugins/WhoUsesMyFiles/src/wumf.h
+++ b/plugins/WhoUsesMyFiles/src/wumf.h
@@ -11,6 +11,7 @@
#include <m_clist.h>
#include <m_database.h>
#include <m_popup.h>
+#include <win2k.h>
#include <m_toptoolbar.h>
@@ -71,17 +72,17 @@ typedef struct
BOOL LogComp;
BOOL AlertComp;
- char LogFile[255];
+ TCHAR LogFile[255];
} WUMF_OPTIONS;
typedef struct _WUMF{
DWORD dwID;
- LPSTR szID;
- LPSTR szUser;
- LPSTR szPath;
- LPSTR szComp;
- LPSTR szUNC;
- LPSTR szPerm;
+ LPTSTR szID;
+ LPTSTR szUser;
+ LPTSTR szPath;
+ LPTSTR szComp;
+ LPTSTR szUNC;
+ LPTSTR szPerm;
DWORD dwSess;
DWORD dwLocks;
DWORD dwAttr;
@@ -92,10 +93,10 @@ typedef struct _WUMF{
PWumf new_wumf(
DWORD dwID,
- LPSTR szUser,
- LPSTR szPath,
- LPSTR szComp,
- LPSTR szUNC,
+ LPTSTR szUser,
+ LPTSTR szPath,
+ LPTSTR szComp,
+ LPTSTR szUNC,
DWORD szSess,
DWORD dwPerm,
DWORD dwAttr);
@@ -120,14 +121,14 @@ VOID CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD);
int CALLBACK ConnDlgProc(HWND, UINT, WPARAM, LPARAM);
int ResizeDialog(WPARAM wParam,LPARAM lParam);
-void ShowThePopUp(PWumf w, LPSTR, LPSTR);
+void ShowThePopUp(PWumf w, LPTSTR, LPTSTR);
void ShowWumfPopUp(PWumf w);
void process_session(SESSION_INFO_1 s_info);
void process_file(SESSION_INFO_1 s_info, FILE_INFO_3 f_info);
void printError(DWORD res);
-#define msg(X) MessageBox(NULL, X, "WUMF", MB_OK|MB_ICONSTOP)
+#define msg(X) MessageBox(NULL, X, _T("WUMF"), MB_OK|MB_ICONSTOP)
#define MS_WUMF_SWITCHPOPUP "WUMF/SwitchPopup"
#define MS_WUMF_CONNECTIONSSHOW "WUMF/ShowConnections"