mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[VFDLIB] More 64 bit fixes
This commit is contained in:
parent
0182dcd71b
commit
643e6bf382
|
@ -47,7 +47,11 @@
|
|||
//
|
||||
// local functions
|
||||
//
|
||||
#ifndef __REACTOS__
|
||||
static INT CALLBACK OpenDialogProc(
|
||||
#else
|
||||
static INT_PTR CALLBACK OpenDialogProc(
|
||||
#endif
|
||||
HWND hDlg,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
|
@ -89,7 +93,11 @@ DWORD WINAPI VfdGuiOpen(
|
|||
//
|
||||
// Open image dialog procedure
|
||||
//
|
||||
#ifndef __REACTOS__
|
||||
INT CALLBACK OpenDialogProc(
|
||||
#else
|
||||
INT_PTR CALLBACK OpenDialogProc(
|
||||
#endif
|
||||
HWND hDlg,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
|
|
|
@ -35,7 +35,11 @@
|
|||
//
|
||||
// local functions
|
||||
//
|
||||
#ifndef __REACTOS__
|
||||
static INT CALLBACK SaveDialogProc(
|
||||
#else
|
||||
static INT_PTR CALLBACK SaveDialogProc(
|
||||
#endif
|
||||
HWND hDlg,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
|
@ -119,7 +123,11 @@ DWORD GuiSaveParam(
|
|||
//
|
||||
// The dialog procedure
|
||||
//
|
||||
#ifndef __REACTOS__
|
||||
INT CALLBACK SaveDialogProc(
|
||||
#else
|
||||
INT_PTR CALLBACK SaveDialogProc(
|
||||
#endif
|
||||
HWND hDlg,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
|
|
|
@ -67,7 +67,11 @@ public:
|
|||
LPCMINVOKECOMMANDINFO lpcmi);
|
||||
|
||||
STDMETHODIMP GetCommandString(
|
||||
#ifndef __REACTOS__
|
||||
UINT idCmd,
|
||||
#else
|
||||
UINT_PTR idCmd,
|
||||
#endif
|
||||
UINT uFlags,
|
||||
UINT *reserved,
|
||||
LPSTR pszName,
|
||||
|
|
|
@ -267,7 +267,11 @@ STDMETHODIMP CVfdShExt::QueryContextMenu(
|
|||
//
|
||||
|
||||
STDMETHODIMP CVfdShExt::GetCommandString(
|
||||
#ifndef __REACTOS__
|
||||
UINT idCmd,
|
||||
#else
|
||||
UINT_PTR idCmd,
|
||||
#endif
|
||||
UINT uFlags,
|
||||
UINT *reserved,
|
||||
LPSTR pszName,
|
||||
|
|
|
@ -237,7 +237,11 @@ void OnControl(
|
|||
CHAR module_path[MAX_PATH];
|
||||
CHAR full_path[MAX_PATH];
|
||||
PSTR file_name;
|
||||
#ifndef __REACTOS__
|
||||
DWORD ret;
|
||||
#else
|
||||
DWORD_PTR ret;
|
||||
#endif
|
||||
|
||||
ret = GetModuleFileName(
|
||||
g_hDllModule, module_path, sizeof(module_path));
|
||||
|
@ -258,8 +262,13 @@ void OnControl(
|
|||
|
||||
VFDTRACE(0, ("Starting %s\n", full_path));
|
||||
|
||||
#ifndef __REACTOS__
|
||||
ret = (DWORD)ShellExecute(
|
||||
hDlg, NULL, full_path, NULL, NULL, SW_SHOW);
|
||||
#else
|
||||
ret = (DWORD_PTR)ShellExecute(
|
||||
hDlg, NULL, full_path, NULL, NULL, SW_SHOW);
|
||||
#endif
|
||||
|
||||
if (ret > 32) {
|
||||
PropSheet_PressButton(GetParent(hDlg), PSBTN_CANCEL);
|
||||
|
|
Loading…
Reference in a new issue