Bewerken

Delen via


IKsAllocator interface (ksproxy.h)

TheIKsAllocator interface provides methods that control and query an allocator. IKsAllocator is for proxy use and not recommended for application use.

Inheritance

The IKsAllocator interface inherits from the IUnknown interface. IKsAllocator also has these types of members:

Methods

The IKsAllocator interface has these methods.

 
IKsAllocator::KsGetAllocatorHandle

Retrieves a file handle to an allocator.
IKsAllocator::KsGetAllocatorMode

Returns the mode in which an allocator allocates memory.
IKsAllocator::KsGetAllocatorStatus

Retrieves the status of an allocator.
IKsAllocator::KsSetAllocatorMode

Sets the mode in which an allocator allocates memory.

Remarks

The IID for this interface is IID_IKsAllocator.

Requirements

Requirement Value
Target Platform Windows
Header ksproxy.h (include Ksproxy.h)