Plug and Play BIOS Specification
Plug and Play BIOS Specification 1.0A Page 42
section 4.4 above for more information on the Plug and Play Installation Check Structure and the
elements that make up the structure.
The function is available in real mode and 16-bit protected mode.
Returns:
0 if successful - SUCCESS
!0 if an error (Bit 7 set) or a warning occurred or the system is not currently docked (The function return
codes are described in Appendix C)
The FLAGS and registers will be preserved, except for AX which contains the return code.
Example:
The following example illustrates how the 'C' style call interface could be made from an assembly
language module:
.
.
.
push Bios Selector
push segment/selector of DockingStationInfo ; pointer to docking station info data structure
push offset of DockingStationInfo
push GET_DOCK_INFO ; Function 5
call FAR PTR entryPoint
add sp,8 ; Clean up stack
cmp ax,SUCCESS ; Function completed successfully?
jne error ; No-handle error condition
.
.