[Toc][Index]

PMIREQUEST_UNLOADPMIFILE - Syntax



Description: 
PMIREQUEST_UNLOADPMIFILE unloads the specified .PMI file. A .PMI file 
needs to be unloaded the same number of times it is loaded before all of 
its resources are freed. A .PMI file is loaded per driver-not per process. 
For example, a display driver, base video handler, and video configurator 
may all load the same .PMI file, which constitutes three users of the PMI 
subsystem. Before the PMI subsystem can be unloaded, 
PMIREQUEST_UNLOADPMIFILE must be invoked three times before the file is 
unloaded. 

#include <svgadefs.h>

PVIDEO_ADAPTER    pAdapter;    /*  Pointer to a VIDEO_ADAPTER data structure. */
ULONG             ulFunction;  /*  Set equal to PMIREQUEST_UNLOADFILE. */
PVOID             pIn;         /*  Pointer to the ASCII string of the .PMI file. */
PVOID             pOut;        /*  NULL */
APIRET            rc;          /*  Return codes. */

rc = VIDEOPMI32Request(pAdapter, ulFunction,
       pIn, pOut);


Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs