SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API
Functions
SE GetDRMClass
extern SE_Return_Code
SE_GetDRMClass
(
SE_Object object,1
SE_DRM_Class *object_class2
);

Definition

Identifies the DRM class of object passed in as the object parameter.

This function is provided as a convenience function, so that a user does not have to call SE_GetFields() in order to find out what DRM class of object was returned in an SE_Object from a call to one of the various functions that return DRM objects. Some of the functions that return DRM objects are: SE_GetNextObject() and and SE_GetNthComponent().


Returns

SE_RETCOD_SUCCESS and the DRM class is returned.
SE_RETCOD_FAILURE and the status code is set appropriately if the call failed.

Status Codes

SE_Status_Code(s) when SE_RETCOD_SUCCESS is returned:

SE_STATCODE_SUCCESS set if valid parameters were passed in and call was successful.

SE_Status_Code(s) when SE_RETCOD_FAILURE is returned:

SE_STATCODE_UNRESOLVED_OUTPUT_OBJECT set if object is unresolved.
SE_STATCODE_INACTIONABLE_FAILURE set if the call fails for any other reason.

Parameters Notes

1 the object whose DRM class will be returned.

2 a pointer to the variable in the user's memory space where the answer will be stored.


Prev: SE_GetContextTransformation. Next: SE_GetDataTableData. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS