DICOMPRESSTATEINFO

 

typedef struct tagDICOMPRESSTATEINFO
{
   L_UINT uStructSize; 
   L_INT32 nInstanceNumber; 
   L_CHAR *pszPresLabel; 
   L_CHAR *pszPresDescription; 
   pVALUEDATE pPresCreationDate; 
   pVALUETIME pPresCreationTime
   L_CHAR *pszPresCreator; 
} DICOMPRESSTATEINFO, *pDICOMPRESSTATEINFO;

This structure is used by the functions L_DicomGetPresStateInfo and L_DicomSetPresStateInfo to get and set the attributes that describe the "Presentation State Module".

Member

Description

uStructSize

The size of the structure (use sizeof (DICOMPRESSTATEINFO))

nInstanceNumber

"Instance Number" (0020,0013) attribute value

pszPresLabel

Pointer to the "Presentation Label"(0070,0080) attribute value

pszPresDescription

Pointer to the "Presentation Description" (0070,0081) attribute value.

pPresCreationDate

Pointer to the "Presentation Creation Date" (0070,0082) attribute value.

pPresCreationTime

Pointer to the "Presentation Creation Time" (0070,0083) attribute value.

pszPresCreator

Pointer to the "Presentation Creator’s Name" (0070,0084) attribute value

Comments

The members of this structure are based on the attributes of the "Presentation State Module", please see "Presentation State Module Attributes" in the DICOM standard for more details.

Special note about the following members: pszPresLabel, pszPresDescription, pPresCreationDate, pPresCreationTime and pszPresCreator: When you call a function, which updates this structure (ex. L_DicomGetPresStateInfo), LEADTOOLS will fill these members with pointers to the internal memory, which LEADTOOLS manages. You must not free these pointers. When you call a function, which updates internal data from the structure you provide (ex. L_DicomSetPresStateInfo), LEADTOOLS expects you to fill these members with pointers to memory that you have allocated and that you manage. You must free these pointers when they are no longer needed.

See Also

Functions:

L_DicomSetPresStateInfo, L_DicomGetPresStateInfo

Topics:

Working with DICOM Annotations