2.1.25.47 is_win2k


Description

Test Windows version to see if it is Windows 2000 or later

Syntax

bool is_win2k( bool bAndLater = true )

Parameters

bAndLater
[input] false if you need to test to see if OS is exactly Windows 2000

Return

TRUE or FALSE

Examples

EX1

void is_win2k_ex1()
{
    if( is_win2k(false) )
        printf(" The OS version is exacly Windows 2000");
    else 
        printf(" The OS version is not Windows 2000");
}

Remark

See Also

Header to Include

origin.h

Reference