IWDFMemory interface
The IWDFMemory interface exposes the framework memory object that provides access to a memory block.
Members
The IWDFMemory interface inherits from IWDFObject. IWDFMemory also has these types of members:
Methods
The IWDFMemory interface has these methods.
Method | Description |
---|---|
IWDFMemory::CopyFromBuffer |
The CopyFromBuffer method safely copies data from the specified source buffer to a memory object. |
IWDFMemory::CopyFromMemory |
The CopyFromMemory method safely copies data from the specified source buffer and prevents overruns that the copy operation might otherwise cause. |
IWDFMemory::CopyToBuffer |
The CopyToBuffer method safely copies data from a memory object to the specified target buffer. |
IWDFMemory::GetDataBuffer |
The GetDataBuffer method retrieves the data buffer that is associated with a memory object. |
IWDFMemory::GetSize |
The GetSize method retrieves the size of the data buffer that is associated with a memory object. |
IWDFMemory::SetBuffer |
The SetBuffer method assigns a specified buffer to a memory object that a driver created by calling IWDFDriver::CreatePreallocatedWdfMemory. |
Requirements
End of support | Unavailable in UMDF 2.0 and later. |
---|---|
Minimum UMDF version | 1.5 |
Header |
|
DLL |
|