IsAlreadyGenuine function

[This function is no longer available for use as of Windows 7.]

Specifies whether the copy of Windows running on the current system is genuine.

This function checks only the local store. It does not check remote servers.

The IsAlreadyGenuine function is not declared in a public header and has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to LegitLib.dll.

Syntax

bool __stdcall IsAlreadyGenuine(void);

Parameters

This function has no parameters.

Return value

TRUE if the copy of Windows running on the current system is genuine; otherwise, FALSE.

Remarks

The Windows Genuine Advantage (WGA) functions are available only on Windows Vista and Windows XP installations that have been validated by clicking Validate Windows on https://www.microsoft.com/genuine.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
None supported
End of client support
Windows Vista
End of server support
None supported
DLL
LegitLib.dll

See also

Windows Genuine Advantage API Functions