mirror of https://github.com/OpenVPN/openvpn-gui
fix prototype of dlgproc functions
parent
147d63d812
commit
697ffc57f9
|
@ -314,7 +314,7 @@ FillLangListProc(HANDLE module, PTSTR type, PTSTR stringId, WORD langId, LONG_PT
|
|||
}
|
||||
|
||||
|
||||
BOOL CALLBACK
|
||||
INT_PTR CALLBACK
|
||||
LanguageSettingsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
LPPSHNOTIFY psn;
|
||||
|
|
|
@ -31,6 +31,6 @@ INT_PTR LocalizedDialogBoxParam(const UINT, DLGPROC, const LPARAM);
|
|||
INT_PTR LocalizedDialogBox(const UINT, DLGPROC);
|
||||
HWND CreateLocalizedDialogParam(const UINT, DLGPROC, const LPARAM);
|
||||
HWND CreateLocalizedDialog(const UINT, DLGPROC);
|
||||
BOOL CALLBACK LanguageSettingsDlgProc(HWND, UINT, WPARAM, LPARAM);
|
||||
INT_PTR CALLBACK LanguageSettingsDlgProc(HWND, UINT, WPARAM, LPARAM);
|
||||
|
||||
#endif
|
||||
|
|
4
main.c
4
main.c
|
@ -47,7 +47,7 @@
|
|||
|
||||
/* Declare Windows procedure */
|
||||
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
|
||||
BOOL CALLBACK AboutDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK AboutDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
static void ShowSettingsDialog();
|
||||
void CloseApplication(HWND hwnd);
|
||||
|
||||
|
@ -406,7 +406,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
}
|
||||
|
||||
|
||||
BOOL CALLBACK AboutDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED LPARAM lParam)
|
||||
INT_PTR CALLBACK AboutDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED LPARAM lParam)
|
||||
{
|
||||
HICON hIcon;
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ OnStateChange(connection_t *c, char *data)
|
|||
/*
|
||||
* DialogProc for OpenVPN username/password auth dialog windows
|
||||
*/
|
||||
static BOOL CALLBACK
|
||||
static INT_PTR CALLBACK
|
||||
UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
connection_t *c;
|
||||
|
@ -270,7 +270,7 @@ UserAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
/*
|
||||
* DialogProc for OpenVPN private key password dialog windows
|
||||
*/
|
||||
static BOOL CALLBACK
|
||||
static INT_PTR CALLBACK
|
||||
PrivKeyPassDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
connection_t *c;
|
||||
|
@ -428,7 +428,7 @@ OnStop(connection_t *c, char *msg)
|
|||
/*
|
||||
* DialogProc for OpenVPN status dialog windows
|
||||
*/
|
||||
static BOOL CALLBACK
|
||||
static INT_PTR CALLBACK
|
||||
StatusDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
connection_t *c;
|
||||
|
|
|
@ -336,7 +336,7 @@ ChangePasswordPKCS12(HWND hwndDlg)
|
|||
}
|
||||
|
||||
|
||||
static BOOL CALLBACK
|
||||
static INT_PTR CALLBACK
|
||||
ChangePassphraseDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED LPARAM lParam)
|
||||
{
|
||||
HICON hIcon;
|
||||
|
|
4
proxy.c
4
proxy.c
|
@ -39,7 +39,7 @@
|
|||
|
||||
extern options_t o;
|
||||
|
||||
bool CALLBACK
|
||||
INT_PTR CALLBACK
|
||||
ProxySettingsDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, UNUSED LPARAM lParam)
|
||||
{
|
||||
HICON hIcon;
|
||||
|
@ -320,7 +320,7 @@ GetProxyRegistrySettings()
|
|||
}
|
||||
|
||||
|
||||
BOOL CALLBACK
|
||||
INT_PTR CALLBACK
|
||||
ProxyAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
connection_t *c;
|
||||
|
|
4
proxy.h
4
proxy.h
|
@ -19,10 +19,10 @@
|
|||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
BOOL CALLBACK ProxySettingsDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK ProxySettingsDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
int CheckProxySettings(HWND hwndDlg);
|
||||
void LoadProxySettings(HWND hwndDlg);
|
||||
void SaveProxySettings(HWND hwndDlg);
|
||||
void GetProxyRegistrySettings();
|
||||
BOOL CALLBACK ProxyAuthDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
INT_PTR CALLBACK ProxyAuthDialogFunc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
void ConstructProxyCmdLine(TCHAR *proxy_string_ptr, unsigned int size);
|
||||
|
|
Loading…
Reference in New Issue