Int 2F Fn 1684 - Ms Windows - Wps - Get Api Entry Point [W]

AX = 1684h
BX = 310Eh (virtual device ID for WPS device) (see #2329)
ES:DI = 0000h:0000h

Return: ES:DI -> VxD API entry point (see #2390)
0000h:0000h if the VxD does not support an API

See Also: AX=1684h"DEVICE API",INT 20"Windows"

(Table 2390)
Call WPS protected-mode entry point with:
DX = function
0000h get WPS.386 version

Return: CF clear
AX = version (AH = major, AL = minor)
0001h get number of installed VxDs

Return: CF clear
AX = number of installed VxDs
0002h get VxD characteristics
AX = number of VxD
ES:BX -> buffer for VxD characteristics structure (see #2391)

Return: CF clear
ES:BX buffer filled

See Also: #2389,#2393

Format of WPS.386 VxD characteristics structure:
Offset Size Description (Table 2391)
00h WORD VxD ID number
02h BYTE VxD minor version
03h BYTE VxD major version
04h BYTE DDK minor version
05h BYTE DDK major version
06h WORD flags
bit 0: V86 API supported
bit 1: PM API supported
bit 2: services supported
08h DWORD start order
0Ch 9 BYTEs ASCIZ VxD name

See Also: #2390