| MIL 10 Reference
| Customize Help
| Save Settings

MbufLink



See also
No related topics
Availability
Available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
Synopsis
Link one buffer to another.
Syntax
void MbufLink(
MIL_ID SourceBufId, //in
MIL_ID TargetBufId, //in
MIL_INT64 LinkOperation, //in
MIL_INT ControlFlag //in
)
Description

This function links two buffers so that subsequent modifications in the source buffer are copied to the target buffer until the buffers are unlinked. For instance, when using the Distributed MIL monitoring configuration, you can link a publishing application's image buffer to the monitoring application's image buffer. Any modifications to the published buffer will be copied to the local buffer.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
SourceBufId

Specifies the identifier of the source buffer. This buffer remains independent and can be modified as per the application's standard mechanisms.

TargetBufId

Specifies the identifier of the target buffer. The contents of this buffer will have the same modifications applied to it as are applied to SourceBufId.

LinkOperation

Specifies the link operation to perform.

function map To specify the link operation
CollapseValue Description
Collapse M_LINK

Specifies to link the two specified buffers.

Collapse M_UNLINK

Specifies to unlink the two specified buffers.

ControlFlag

Reserved for future expansion. This parameter must be set to M_DEFAULT.

Compilation information
Header Include mil.h.
Library Use mil.lib.
DLL Requires mil.dll.
LINK UNLINK