SWAPIINFO

SWAPIINFO STRUC

aisLength dw 10 ;size of this structure, in bytes

aisAPI dw ? ;API identifier

aisMajor dw ? ;major version number

aisMinor dw ? ;minor version number

aisSupport dw ? ;support level

SWAPIINFO ENDS

The SWAPIINFO structure contains information about the level of support that a client program provides for a particular type of asynchronous API.

Fields

aisLength

Specifies the length of the structure, in bytes.

aisAPI

Identifies the asynchronous API supported by the client program. This value can be one of the following:

Value Meaning

API_NETBIOS (0001h) NETBIOS
API_8022 (0002h) 802.2
API_TCPIP (0003h) TCP/IP
API_LANMAN (0004h) LAN Manager named pipes
API_IPX (0005h) NetWare IPX

All other values are reserved.

aisMajor

Specifies the highest major version of the API for which the client program provides the level of support specified by the aisSupport field. For example, if the highest version of the API supported by the client program at the specified level is 3.10, this field would be set to 0003h.

aisMinor

Specifies the highest minor version of the API for which the client program provides the specified level of support. For example, if the highest version of the API supported by the client program at the specified level is 3.10, this field would be set to 000Ah.

aisSupport

Specifies the level of support provided by the client program for the particular version of the API. The range and significance of values in this field depend upon the particular API. The following definitions are used for NETBIOS:

Value Meaning

0001h Minimal support. The client program prevents a session switch after an application has called a function supported in an asynchronous API, even after the request has been completed.
0002h API-level support. The client program tracks asynchronous requests, prevents task switches when requests are outstanding, and allows task switches when all requests have been completed.
0003h Switcher compatibility. The API provider allows switches to occur even when asynchronous requests are outstanding. However, this may be limited by such factors as buffer size, and some requests might fail.
0004h Seamless compatibility. The API provider always allows session switches to occur.