L_DicomGetApplication
#include "ltdic.h"
L_CHAR * EXT_FUNCTION L_DicomGetApplication(hPDU)
HDICOMPDU hPDU; |
/* a DICOM Associate handle */ |
Gets the Application Context for the specified DICOM Associate.
Parameter |
Description |
hPDU |
A DICOM Associate handle. |
Returns
A character string that contains the Application Context for the specified DICOM Associate.
Comments
The default value for the Application Context is "1.2.840.10008.3.1.1.1" (UID_APPLICATION_CONTEXT_NAME).
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: |
|
Topics: |
Example
L_VOID Test(HDICOMPDU hPDU)
{
/* display current Application Context */
MessageBox(NULL, L_DicomGetApplication(hPDU), "Test", MB_OK);
/* change it */
L_DicomSetApplication(hPDU, "9.9.999.99999.9.9.9.9");
MessageBox(NULL, L_DicomGetApplication(hPDU), "Test", MB_OK);
}