![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
Include Files
PMI allows for inclusion of other .PMI files, all of which must conform to
the PMI language. The include files should be in the same directory as the
current .PMI file. There can be more than one #include statement in a .PMI
file. The include .PMI files can have #include statements to include other
.PMI files. An Include file facility is provided in order to offer
flexibility in supporting multiple adapter configurations with a single
.PMI file. Failure to locate the include .PMI file does not cause the
unloading of the SVGADATA.PMI file.
The external binary objects are included using a #includecode directive,
and flat PMI sub-files are included using a #include directive. The
include statement can be found anywhere in the .PMI file as long as it
does not violate the integrity of the section before and the section
after, and as long as the references to the objects belonging to the
include file are made after the inclusion.
External binary objects are considered "binary include" files. The
VIDEOPMI parser attempts to load the module as a 32-bit DLL and attempts
to resolve the procedural addresses for every external code reference made
using all of the loaded module. If the loading or address resolution
fails, the loading of the .PMI file fails.
#include "filename" //PMI extension assumed
#includecode "filename" //DLL extension assumed
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs