18.12.2012 Views

Configuration - Merge Healthcare

Configuration - Merge Healthcare

Configuration - Merge Healthcare

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

44<br />

MC_MSGFILE_ERROR An error occurred attempting to access<br />

the configuration data file for the<br />

directory record.<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 />

MC_INVALID_LOWER_DIR_RECORD The directory record type specified by<br />

NewItemName is an invalid lower level<br />

type for the directory record ItemID.<br />

MC_BAD_DIR_RECORD_TYPE The directory record type specified in the<br />

directory record ItemID is invalid.<br />

See Also<br />

MC_Dir_Add_Record MC_Dir_Delete_Referenced_Entity<br />

MC_Dir_First_Record MC_Dir_Next_Entity<br />

MC_Dir_Next_Record MC_Dir_Root_Entity<br />

MC_Dir_Add_Record<br />

Adds a DICOMDIR directory record to a specified directory entity<br />

Synopsis<br />

#include “mc3media.h”<br />

MC_STATUS MC_Dir_Add_Record (<br />

int DirID,<br />

int EntityID,<br />

char* NewItemName,<br />

int* NewItemID<br />

)<br />

DirID The identifier assigned to this DICOMDIR object by the<br />

MC_Create_File or MC_Create_Empty_File functions.<br />

EntityID The identifier of the directory entity object in which the directory<br />

record is being added.<br />

NewItemName String name of the item to be associated with this item object.<br />

See mergecom.srv item table for list of names.<br />

NewItemID Upon successful completion, the item object identifier of the<br />

new directory record is returned here.<br />

Remarks<br />

MC_Dir_Add_Record creates a new directory record of type NewItemName and<br />

appends it to the end of the entity object specified by EntityID. A pointer to the<br />

new directory record is returned in NewItemID.<br />

The NewItemName parameter is used to access configuration information which<br />

describes the attributes of the new directory record. If such configuration<br />

information is not available, an empty item object is created, and a warning<br />

message is logged.

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

Saved successfully!

Ooh no, something went wrong!