HS_HOST_ALLOCATE_MEMORY function
The HS_HOST_ALLOCATE_MEMORY function returns an amount of memory specified by the caller.
Syntax
(WINAPI *HS_HOST_ALLOCATE_MEMORY)(
_In_ HANDLE hPluginContext,
_In_ DWORD dwByteCount,
_Out_ _bcount (dwByteCount) LPVOID* ppvBuffer
);
Parameters
hPluginContext [in]
Context handle for the plugin making the call to this function.dwByteCount [in]
The amount of memory to allocate.ppvBuffer [out]
Pointer to the buffer that contains the allocated memory.
Return value
This function is called by the plugin to communicate with the host and does not return a value.
Requirements
Version |
Windows 10 Mobile |
Header |
Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h) |