msbdnOutputFreeBuffer

[This is preliminary documentation and subject to change.]

The msbdnOutputFreeBuffer function frees string storage that the MMR obtained from a call to the msbdnOutputGetValue function.

HRESULT msbdnOutputFreeBuffer(
  IN MSBDN_OUTPUT_SUBSYSTEM *Subsystem
  IN LPVOID Buffer
);
 

Parameters

Subsystem
Address of an MSBDN_OUTPUT_SUBSYSTEM structure that contains details about the virtual interface implementation.
Buffer
Memory storage containing a null-terminated string that this function frees.

Return Values

Should always return zero for a successful status.

Remarks

A virtual interface DLL should implement msbdnOutputFreeBuffer so that the MMR can configure the DLL dynamically. Typically, the implementation for msbdnOutputFreeBuffer should free string storage by calling the free C function, the delete C++ function, or the GlobalFree Win32 base services function. The particular implementation for a virtual interface DLL's string memory management is left up to the hardware vendor.

See Also

msbdnOutputGetValue, MSBDN_OUTPUT_SUBSYSTEM