LDicomIOD::SetName
#include "Ltdic.h"
static L_BOOL LDicomIOD::SetName(pIOD, pszName)
pDICOMIOD pIOD; |
/* pointer to a DICOMIOD structure */ |
L_CHAR * pszName; |
/* character string */ |
Sets the name of the specified item in the IOD Structure.
Parameter |
Description |
pIOD |
Pointer to a structure that contains an item in the IOD Structure. The name of this item will be set using the string contained in pszName. |
pszName |
Character string that contains the name to be set. |
Returns
TRUE |
The name was successfully set. |
FALSE |
Not enough memory. |
Comments
The following functions will also help you navigate the IOD Structure:
Required DLLs and Libraries
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
LDicomIOD::GetFirst, LDicomIOD::GetLast, LDicomIOD::GetNext, LDicomIOD::GetPrev, LDicomIOD::GetCountModule, LDicomIOD::GetParent, LDicomIOD::GetChild, LDicomIOD::GetRoot |
Topics: |
Example
/* This example changes the module’s name */
L_VOID Test()
{
pDICOMIOD pIOD;
pIOD = LDicomIOD::FindModule( CLASS_US_IMAGE_STORAGE, MODULE_PATIENT_STUDY);
if (pIOD != NULL)
{
LDicomIOD::SetName(pIOD, "New Name");
}
}