VideoPortGetAgpServices 函数 (videoagp.h)

VideoPortGetAgpServices 函数 过时,仅支持与现有驱动程序向后兼容。 就其位置,驱动程序编写器应使用 VideoPortQueryServices

VideoPortGetAgpServices 返回视频端口驱动程序实现的 AGP 服务函数的列表。

语法

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

参数

[in] HwDeviceExtension

指向微型端口驱动程序的设备扩展的指针。

[in] AgpServices

指向未初始化的微型端口驱动程序分配 VIDEO_PORT_AGP_SERVICES 结构的指针。

返回值

VideoPortGetAgpServices 成功初始化 AgpServices 点VIDEO_PORT_AGP_SERVICES结构后返回 true TRUE;否则,它返回 FALSE

言论

可以使用 AGP 的 PnP 视频微型端口驱动程序应调用 VideoPortGetAgpServices

视频端口驱动程序初始化 VIDEO_PORT_AGP_SERVICES 结构,如下所示:

  • 所有函数指针都初始化为指向相应的视频端口驱动程序实现的 AGP 服务函数。
  • AllocationLimit 字段初始化为允许微型端口驱动程序提交的最大 AGP 内存量(以字节为单位)。

要求

要求 价值
最低支持的客户端 在 Windows 2000 及更高版本的 Windows作系统中可用。
目标平台 桌面
标头 videoagp.h (包括 Video.h)
Videoprt.lib
DLL Videoprt.sys
IRQL PASSIVE_LEVEL

另请参阅

AgpCommitPhysical

AgpCommitVirtual

AgpFreePhysical

AgpFreeVirtual

AgpReleasePhysical

AgpReleaseVirtual

AgpReservePhysical

VIDEO_PORT_AGP_SERVICES

VideoPortQueryServices