summaryrefslogtreecommitdiff
path: root/include/m_netlib.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
commite4709ec279fe4e531d33154c3b833a715cf56fbc (patch)
tree4f4183bc7486783e0fd6f6c10f5ce370c01468a8 /include/m_netlib.h
parentc70673812db722c68caef569e2c299f5462b9c13 (diff)
removing TCHAR + WCHAR from headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_netlib.h')
-rw-r--r--include/m_netlib.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index e5dbc7ca00..36d9d9aea5 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -70,7 +70,7 @@ typedef struct {
char *szSettingsModule; // used for db settings and log
union {
char *szDescriptiveName; // used in options dialog, already translated
- TCHAR *ptszDescriptiveName;
+ wchar_t *ptszDescriptiveName;
};
DWORD flags;
char *szHttpGatewayHello;
@@ -831,15 +831,15 @@ static __inline HANDLE Netlib_InitSecurityProvider(char* szProviderName)
typedef struct {
size_t cbSize;
- const TCHAR* szProviderName;
- const TCHAR* szPrincipal;
+ const wchar_t* szProviderName;
+ const wchar_t* szPrincipal;
unsigned flags;
}
NETLIBNTLMINIT2;
#define MS_NETLIB_INITSECURITYPROVIDER2 "Netlib/InitSecurityProvider2"
-static __inline HANDLE Netlib_InitSecurityProvider2(const TCHAR* szProviderName, const TCHAR* szPrincipal)
+static __inline HANDLE Netlib_InitSecurityProvider2(const wchar_t* szProviderName, const wchar_t* szPrincipal)
{
NETLIBNTLMINIT2 temp = { sizeof(temp), szProviderName, szPrincipal, NNR_TCHAR };
return (HANDLE)CallService(MS_NETLIB_INITSECURITYPROVIDER2, 0, (LPARAM)&temp);
@@ -877,8 +877,8 @@ typedef struct {
typedef struct {
size_t cbSize;
const char* szChallenge;
- const TCHAR* szUserName;
- const TCHAR* szPassword;
+ const wchar_t* szUserName;
+ const wchar_t* szPassword;
unsigned complete;
unsigned flags;
}
@@ -886,7 +886,7 @@ typedef struct {
#define MS_NETLIB_NTLMCREATERESPONSE2 "Netlib/NtlmCreateResponse2"
-static __inline char* Netlib_NtlmCreateResponse2(HANDLE hProvider, char* szChallenge, TCHAR* szLogin, TCHAR* szPass, unsigned *complete)
+static __inline char* Netlib_NtlmCreateResponse2(HANDLE hProvider, char* szChallenge, wchar_t* szLogin, wchar_t* szPass, unsigned *complete)
{
NETLIBNTLMREQUEST2 temp = { sizeof(temp), szChallenge, szLogin, szPass, *complete, NNR_TCHAR };
char* res = (char*)CallService(MS_NETLIB_NTLMCREATERESPONSE2, (WPARAM)hProvider, (LPARAM)&temp);