[This is preliminary documentation and subject to change.]
After installing the Broadcast Architecture Programmer's Reference material, the Main.cpp files for both samples are available. These sample files aid the user in understanding the purpose of each sample and its relationship to the MMR. The following table shows how the MMR calls and the uses of the exported virtual interface functions. Documentation for the following exported virtual interface functions can be found in the Virtual Interface Functions section.
HRESULT msbdnOutputCreate(
MSBDN_OUTPUT_SUBSYSTEM * subsystem,
DWORD version);
HRESULT msbdnOutputDestroy(
MSBDN_OUTPUT_SUBSYSTEM * subsystem);
HRESULT msbdnOutputFreeBuffer(
MSBDN_OUTPUT_SUBSYSTEM * subsystem,
LPVOID buffer);
HRESULT msbdnOutputGetStatus(
MSBDN_OUTPUT_SUBSYSTEM * subsystem,
HRESULT * status);
HRESULT msbdnOutputGetValue(
MSBDN_OUTPUT_SUBSYSTEM * subsystem,
MSBDN_OUTPUT_VALUE * value);
HRESULT msbdnOutputGetValueCount(
MSBDN_OUTPUT_SUBSYSTEM * subsystem,
DWORD * count);
HRESULT msbdnOutputSendPacket(
MSBDN_OUTPUT_SUBSYSTEM * subsystem,
PACKET_BUFFER * packet);
HRESULT msbdnOutputSetValue(
MSBDN_OUTPUT_SUBSYSTEM * subsystem,
MSBDN_OUTPUT_VALUE * value);