IMiniportWavePciStream::GetAllocatorFraming 方法(portcls.h)
GetAllocatorFraming
方法获取流的首选分配器框架参数。
语法
NTSTATUS GetAllocatorFraming(
[out] PKSALLOCATOR_FRAMING AllocatorFraming
);
参数
[out] AllocatorFraming
指向 KSALLOCATOR_FRAMING 结构的指针,该方法将微型端口驱动程序的分配器框架首选项写入此流。
返回值
如果调用成功,GetAllocatorFraming
返回STATUS_SUCCESS。 否则,该方法将返回适当的错误代码。
言论
微型端口驱动程序不应假定流的实际分配器框架参数与 GetAllocatorFraming
调用中指定的参数匹配。 端口驱动程序将 GetAllocatorFraming
中的分配框架参数解释为微型端口驱动程序的首选项。 但是,当 SysAudio 系统驱动程序 生成音频筛选器图时,其他因素可能超过这些首选项。
请参阅 WavePci 延迟中分配器框架的讨论。
要求
要求 | 价值 |
---|---|
目标平台 | 普遍 |
标头 | portcls.h (包括 Portcls.h) |
IRQL | PASSIVE_LEVEL |