Int 2F Fn 1684 - Intel Plug-and-play - Configuration Manager - Get Entry [x]

AX = 1684h
BX = 0034h (ID for Configuration Manager) (see #2329)
ES:DI = 0000h:0000h

Return: ES:DI -> API entry point (see #2360)
0000h:0000h if Configuration Manager not loaded

Note: this API is often provided by a DOS device driver, in which case it
is available whether or not MSWindows is running
Index: installation check;Plug-and-Play Configuration Manager

See Also: AX=1684h/BX=304Ch

(Table 2360)
Call Configuration Manager entry point with:
AX = function
0000h "CM_GetVersion" get supported DDI version

Return: AH = BCD major version
AL = BCD minor version
BX = number of devices identified by configuration

Note: returns AX = 0000h if no config manager installed
0001h "CM_GetConfig" get device configuration
BX = device index
ES:DI -> buffer for configuration information (see #2362)

Return: AX = status
0000h successful
ES:DI buffer filled
other error code (0001h = index out of range)
0002h "CM_LockConfig" lock device configuration
ES:DI -> configuration information (see #2362)

Return: AX = status
0000h successful
ES:DI buffer filled with assigned config
0001h resources conflict
0002h invalid request or configuration info
0003h "CM_UnlockConfig" unlock device configuration
ES:DI -> configuration information (see #2362)

Return: AX = status
0000h successful
ES:DI buffer filled with assigned config
0001h invalid request or configuration info
0004h "CME_QueryResources" get hot-swappable resources
ES:DI -> configuration information (see #2362)

Return: AX = status (see #2361)
0005h "CME_AllocResources" remove resources from available pool
ES:DI -> configuration information (see #2362)

Return: AX = status (see #2361)
0006h "CME_DeallocResources" return resources to available pool
ES:DI -> configuration information (see #2362)

Return: AX = status (see #2361)

See Also: #0994 at INT 20"Windows",#2359,#2363

(Table 2361)
Values for Configuration Manager status:
00h successful
01h device not found, configuration error
02h I/O port unavailable
04h IRQ unavailable
08h DMA channel unavailable
10h memory range unavailable

See Also: #2360

Format of Configuration Information Structure:
Offset Size Description (Table 2362)
00h DWORD bus ID
04h DWORD device ID
08h DWORD serial number
0Ch DWORD logical ID
10h DWORD flags
---ISA bus---
14h BYTE Card Select Number
15h BYTE logical device number
16h WORD Read Data port