VideoPortGetAgpServices function (videoagp.h)

The VideoPortGetAgpServices function is obsolete and is supported only for backward compatibility with existing drivers. In its place, driver writers should use VideoPortQueryServices.

VideoPortGetAgpServices returns a list of video port driver-implemented AGP service functions.

Syntax

VIDEOAGP_DEPRECATED BOOLEAN VideoPortGetAgpServices(
  [in] IN PVOID                    HwDeviceExtension,
  [in] IN PVIDEO_PORT_AGP_SERVICES AgpServices
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] AgpServices

Pointer to an uninitialized, miniport driver-allocated VIDEO_PORT_AGP_SERVICES structure.

Return value

VideoPortGetAgpServices returns TRUE after it successfully initializes the VIDEO_PORT_AGP_SERVICES structure to which AgpServices points; otherwise it returns FALSE.

Remarks

PnP video miniport drivers that can use AGP should call VideoPortGetAgpServices.

The video port driver initializes the VIDEO_PORT_AGP_SERVICES structure as follows:

  • All function pointers are initialized to point to the corresponding video port driver-implemented AGP service functions.
  • The AllocationLimit field is initialized to the maximum amount of AGP memory that a miniport driver is allowed to commit, in bytes.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header videoagp.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL PASSIVE_LEVEL

See also

AgpCommitPhysical

AgpCommitVirtual

AgpFreePhysical

AgpFreeVirtual

AgpReleasePhysical

AgpReleaseVirtual

AgpReservePhysical

VIDEO_PORT_AGP_SERVICES

VideoPortQueryServices