*** empty log message ***

svn path=/trunk/boinc/; revision=9573
This commit is contained in:
Rom Walton 2006-02-27 23:59:39 +00:00
parent 8e1cc17a5f
commit b3e380e2e2
3 changed files with 13 additions and 6 deletions

View File

@ -2416,3 +2416,10 @@ Rom 27 Feb 2006
client/ client/
http_curl.C http_curl.C
Rom 27 Feb 2006
- Expose Windows detection code in the DLL to BOINC proper.
clientlib/win/
Identification.cpp
Identification.h

View File

@ -25,7 +25,7 @@
/** /**
* Find out if we are on a Windows 2000 compatible system * Find out if we are on a Windows 2000 compatible system
**/ **/
BOOL IsWindows2000Compatible() EXTERN_C __declspec(dllexport) BOOL IsWindows2000Compatible()
{ {
OSVERSIONINFO osvi; OSVERSIONINFO osvi;
ZeroMemory(&osvi, sizeof(OSVERSIONINFO)); ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
@ -45,7 +45,7 @@ BOOL IsWindows2000Compatible()
* we perform a "lazy" bind to the new product suite * we perform a "lazy" bind to the new product suite
* APIs that were first introduced on that platform. * APIs that were first introduced on that platform.
**/ **/
BOOL IsTerminalServicesEnabled() EXTERN_C __declspec(dllexport) BOOL IsTerminalServicesEnabled()
{ {
BOOL bResult = FALSE; // assume Terminal Services is not enabled BOOL bResult = FALSE; // assume Terminal Services is not enabled
@ -109,7 +109,7 @@ BOOL IsTerminalServicesEnabled()
* to the product suite information stored in the registry. * to the product suite information stored in the registry.
* This only works on the Terminal Server 4.0 platform. * This only works on the Terminal Server 4.0 platform.
**/ **/
BOOL ValidateProductSuite (LPSTR SuiteName) EXTERN_C __declspec(dllexport) BOOL ValidateProductSuite (LPSTR SuiteName)
{ {
BOOL rVal = FALSE; BOOL rVal = FALSE;
LONG Rslt; LONG Rslt;

View File

@ -19,6 +19,6 @@
#pragma once #pragma once
extern BOOL IsWindows2000Compatible(); EXTERN_C __declspec(dllexport) BOOL IsWindows2000Compatible();
extern BOOL IsTerminalServicesEnabled(); EXTERN_C __declspec(dllexport) BOOL IsTerminalServicesEnabled();
extern BOOL ValidateProductSuite (LPSTR SuiteName); EXTERN_C __declspec(dllexport) BOOL ValidateProductSuite (LPSTR SuiteName);