18.12.2012 Views

Configuration - Merge Healthcare

Configuration - Merge Healthcare

Configuration - Merge Healthcare

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Merge</strong> DICOM Toolkit Reference Manual<br />

32<br />

Remarks<br />

MC_Continue_Read_Message_To_Stream reads from after previous stop tag<br />

until the end of the message. The message passed in must have been read with<br />

MC_Read_Message_To_Tag, or MC_Continue_Read_Message_To_Tag.<br />

MC_Continue_Read_Message_To_Stream can be used to increase<br />

performance by not having <strong>Merge</strong> DICOM Toolkit process a message and pass it<br />

directly to disk as it is being read off of the network. The<br />

MC_Read_Message_To_Tag can be used to get basic information about the<br />

message such as the SOP Instance UID of the message from the Affected SOP<br />

Instance UID tag or the SOP Class UID of the message from the Affected SOP<br />

Class UID tag. The transfer syntax that the message is encoded in can be<br />

determined from the MC_Get_Message_Transfer_Syntax function after the<br />

message has been initially read with MC_Read_Message_To_Tag.<br />

Return Value<br />

One of the enumerated MC_STATUS codes defined in “mcstatus.h”:<br />

Value Meaning<br />

MC_NORMAL_COMPLETION The function completed normally.<br />

MC_INVALID_MESSAGE_ID MessageID is not a valid message<br />

object ID or<br />

MC_Read_Message_To_Tag was not<br />

called for MessageID.<br />

MC_NULL_POINTER_PARM The MessageID parameter was NULL.<br />

MC_INVALID_ASSOC_ID AssociationID is not a valid association<br />

object ID.<br />

MC_STATE_VIOLATION AssociationID is not a valid association<br />

that has been accepted.<br />

MC_SYSTEM_ERROR An unexpected, potentially serious,<br />

problem was detected in the operating<br />

environment. A message describing the<br />

error has been written to the <strong>Merge</strong><br />

DICOM Toolkit log file.<br />

The association is dropped if any of the following are returned:<br />

MC_NETWORK_SHUT_DOWN The network connect unexpectedly<br />

dropped.<br />

MC_ASSOCIATION_ABORTED The association has been aborted. A<br />

message describing the error has been<br />

written to the <strong>Merge</strong> DICOM Toolkit log<br />

file.<br />

MC_ASSOCIATION_CLOSED The association has been closed.<br />

MC_INACTIVITY_TIMEOUT A timeout occurred in the middle of<br />

receiving a message.<br />

MC_CONFIG_INFO_ERROR The message information file describing<br />

the message’s service/command pair<br />

could not be accessed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!