fixed GetDiskFreeSpaceEx calling convention (Markus Greither)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-01-19 12:19:43 +00:00
parent 8caf72d33e
commit 9ee966ecaf

View File

@ -459,10 +459,10 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
(!defined(__GNUWIN32__) || wxCHECK_W32API_VERSION( 0, 3 )) (!defined(__GNUWIN32__) || wxCHECK_W32API_VERSION( 0, 3 ))
// GetDiskFreeSpaceEx() is not available under original Win95, check for // GetDiskFreeSpaceEx() is not available under original Win95, check for
// it // it
typedef BOOL (*GetDiskFreeSpaceEx_t)(LPCTSTR, typedef BOOL (WINAPI *GetDiskFreeSpaceEx_t)(LPCTSTR,
PULARGE_INTEGER, PULARGE_INTEGER,
PULARGE_INTEGER, PULARGE_INTEGER,
PULARGE_INTEGER); PULARGE_INTEGER);
GetDiskFreeSpaceEx_t GetDiskFreeSpaceEx_t
pGetDiskFreeSpaceEx = (GetDiskFreeSpaceEx_t)::GetProcAddress pGetDiskFreeSpaceEx = (GetDiskFreeSpaceEx_t)::GetProcAddress