IKsAllocator 接口提供用于控制和查询分配器的方法。 IKsAllocator 用于代理,不建议用于应用程序。
遗产
IKsAllocator 接口继承自 IUnknown 接口。 IKsAllocator 也有以下类型的成员:
方法
IKsAllocator 接口具有这些方法。
|
IKsAllocator::KsGetAllocatorHandle 检索分配给分配器的文件句柄。 |
|
IKsAllocator::KsGetAllocatorMode 返回分配器分配内存的模式。 |
|
IKsAllocator::KsGetAllocatorStatus 检索分配器的状态。 |
|
IKsAllocator::KsSetAllocatorMode 设置分配器分配内存的模式。 |
言论
此接口的 IID IID_IKsAllocator。
要求
| 要求 | 价值 |
|---|---|
| 目标平台 | 窗户 |
| 标头 | ksproxy.h (包括 Ksproxy.h) |