Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allocates a buffer that meets the memory alignment requirements of the virtualization instance's storage device.
Syntax
void * PrjAllocateAlignedBuffer(
[in] PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT namespaceVirtualizationContext,
[in] size_t size
);
Parameters
[in] namespaceVirtualizationContext
Opaque handle for the virtualization instance.
[in] size
The size of the buffer required, in bytes.
Return value
Returns NULL if the buffer could not be allocated.
Remarks
Use PrjFreeAlignedBuffer to deallocate memory obtained by PrjAllocateAlignedBuffer.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1809 [desktop apps only] |
| Minimum supported server | Windows Server [desktop apps only] |
| Target Platform | Windows |
| Header | projectedfslib.h |
| Library | ProjectedFSLib.lib |