Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

VideoPortGetAgpServices function

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


BOOLEAN VideoPortGetAgpServices(
  _In_ PVOID                    HwDeviceExtension,
  _In_ PVIDEO_PORT_AGP_SERVICES AgpServices
);

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

AgpServices [in]

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

Target platform

Desktop

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Videoagp.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

PASSIVE_LEVEL

See also

VideoPortQueryServices
AgpCommitPhysical
AgpCommitVirtual
AgpFreePhysical
AgpFreeVirtual
AgpReleasePhysical
AgpReleaseVirtual
AgpReservePhysical
AgpReleasePhysical
VIDEO_PORT_AGP_SERVICES

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft