// video.h
PVIDEO_PORT_GET_PROC_ADDRESS PvideoPortGetProcAddress;
PVOID PvideoPortGetProcAddress(
[in] IN PVOID HwDeviceExtension,
[in] IN PUCHAR FunctionName
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortGetProcAddress callback routine retrieves the address of a Windows 2000 or later video port driver function.
HwDeviceExtension [in]Pointer to the miniport driver's hardware device extension.
FunctionName [in]Pointer to a null-terminated ASCII string that contains the name of the function being searched for.
VideoPortGetProcAddress returns a pointer to the function specified in the FunctionName parameter, if it exists. If that function does not exist, this function returns NULL.
VideoPortGetProcAddress makes it possible for a video miniport driver to gain access to video port driver functions without linking to them directly. This enables a miniport driver to take full advantage of Windows 2000 and later features but still be able to load on earlier NT-based operating system versions. For an example of how to use VideoPortGetProcAddress, see Using VideoPortGetProcAddress.
The VideoPortGetProcAddress member of the VIDEO_PORT_CONFIG_INFO structure contains the address of this callback routine.