WinSLIStartup()

Enables an application to specify the required version of the SLI API and to retrieve details of the API.

Syntax

int WINAPI WinSLIStartup (WORD wVersionRequired,
                          LUADATA* luadata);
Parameters
wVersionRequired
Specifies the version of SLI API support required. The high-order byte specifies the minor version (revision) number; the low-order byte specifies the major version number.
luadata
Returns version of SLI implementation.

Returned Values

The return value specifies whether the application was registered successfully and whether the SLI API can support the specified version number. If the value is 0, it was registered successfully and the specified version can be supported. Otherwise, the return value is one of the following values:
WLUAVERNOTSUPPORTED
The version of SLI API support requested is not provided by this particular SLI API.
WLUAINVALID
The version requested could not be determined.

Usage Notes

Using WinSLIStartup is not required.