SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API
Functions
SE GetTransmittalVersionInformation
extern SE_Return_Code
SE_GetTransmittalVersionInformation
(
SE_Transmittal transmittal, (notes)
SE_Short_Integer_Positive *major_DRM_version_out_ptr, (notes)
SE_Byte_Unsigned *minor_DRM_version_out_ptr, (notes)
SE_Character *interim_DRM_version_out_ptr, (notes)
SE_Short_Integer_Positive *major_EDCS_version_out_ptr, (notes)
SE_Byte_Unsigned *minor_EDCS_version_out_ptr, (notes)
SE_Character *interim_EDCS_version_out_ptr (notes)
);

Definition

Gets the version of the SEDRIS Data Representation Model (DRM) and Environmental Data Coding Standard (EDCS) used to define the given transmittal.


Returns

SE_RET_CODE_SUCCESS and the transmittal version information is returned.
SE_RET_CODE_FAILUREand the status code is set appropriately if the call failed.

Status Codes

SE_Status_Code(s) when SE_RET_CODE_SUCCESS is returned:

SE_STAT_CODE_SUCCESS set if valid parameters were passed in and all operations succeeded.

SE_Status_Code(s) when SE_RET_CODE_FAILURE is returned:

SE_STAT_CODE_INACTIONABLE_FAILURE set if the call fails for any reason.


Parameters Notes


transmittal

 the transmittal whose version information is being obtained

major_DRM_version_out_ptr

 a pointer to a SE_Short_Integer_Positive in the user's memory
    space that will be set to an integer value greater than or equal to 1

minor_DRM_version_out_ptr

 a pointer to a SE_Byte_Unsigned in the user's memory
    space that will be set to an integer value between 0 and 99, inclusive

interim_DRM_version_out_ptr

 a pointer to an SE_Character in the user's memory
    space that will be set to a value between 'a' and 'z' inclusive.
    If it was not an interim version of the DRM, then the value will
    be set to a blank (' ').

major_EDCS_version_out_ptr

 a pointer to a SE_Short_Integer_Positive in the user's memory
    space that will be set to an integer value greater than or equal to 1

minor_EDCS_version_out_ptr

 a pointer to a SE_Byte_Unsigned in the user's memory
    space that will be set to an integer value between 0 and 99, inclusive

interim_EDCS_version_out_ptr

 a pointer to a SE_Character in the user's memory
    space that will be set to a value between 'a' and 'z' inclusive.
    If it was not an interim version of the EDCS, then the value will
    be set to a blank (' ').


Prev: SE_GetTransmittalName. Next: SE_GetUniqueTransmittalID. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS