I am not sure if this is the same for Windows/Other Operating Systems:
Code:static BOOL IsPocketPC2002(void) { //checks for PocketPC availability... TCHAR szPlatform[32]; OSVERSIONINFO osver; GetVersionEx(&osver); if (osver.dwMajorVersion == 3 && SystemParametersInfo(SPI_GETPLATFORMTYPE, sizeof(szPlatform), szPlatform, 0) != 0 && lstrcmp(szPlatform, L"PocketPC") == 0) return TRUE; return FALSE; }
Phreak




Reply With Quote