mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9291
This commit is contained in:
parent
0a8438794d
commit
0aa9ef88d8
|
@ -52,7 +52,7 @@
|
|||
#ifdef __WXMSW__
|
||||
typedef BOOL (*pfnClientLibraryStartup)();
|
||||
typedef void (*pfnClientLibraryShutdown)();
|
||||
typedef int (*pfnBOINCIsNetworkAlive)(LPDWORD lpdwFlags);
|
||||
typedef int (*pfnBOINCIsNetworkAlive)(long* lpdwFlags);
|
||||
typedef int (*pfnBOINCIsNetworkAlwaysOnline)();
|
||||
typedef DWORD (*pfnBOINCGetIdleTickCount)();
|
||||
#endif
|
||||
|
@ -834,7 +834,7 @@ int CBOINCGUIApp::ClientLibraryShutdown() {
|
|||
}
|
||||
|
||||
|
||||
int CBOINCGUIApp::IsNetworkAlive(LPDWORD lpdwFlags) {
|
||||
int CBOINCGUIApp::IsNetworkAlive(long* lpdwFlags) {
|
||||
#ifdef __WXMSW__
|
||||
if(m_hClientLibraryDll) {
|
||||
pfnBOINCIsNetworkAlive fn;
|
||||
|
|
|
@ -141,7 +141,7 @@ public:
|
|||
|
||||
bool OnInit();
|
||||
|
||||
int IsNetworkAlive(LPDWORD lpdwFlags);
|
||||
int IsNetworkAlive(long* lpdwFlags);
|
||||
int IsNetworkAlwaysOnline();
|
||||
int UpdateSystemIdleDetection();
|
||||
|
||||
|
|
|
@ -1589,7 +1589,7 @@ void CMainFrame::OnFrameRender(wxTimerEvent &event) {
|
|||
bool is_online = false;
|
||||
int want_network = 0;
|
||||
int answer = 0;
|
||||
DWORD dwConnectionFlags =
|
||||
long dwConnectionFlags =
|
||||
NETWORK_ALIVE_LAN | NETWORK_ALIVE_WAN | NETWORK_ALIVE_AOL;
|
||||
wxString strConnectionName = wxEmptyString;
|
||||
wxString strConnectionUsername = wxEmptyString;
|
||||
|
|
Loading…
Reference in New Issue