Function Name: General Field Count For Type

Definition

Given the token of a typedef,


Returns

SE_DRM_SUCCESS - and *count_out_ptr is set appropriately, if valid parameters were passed in.

SE_DRM_NULL_REQUIRED_PARAMETER - and *count_out_ptr is left unaltered, if count_out_ptr is NULL.

SE_DRM_INVALID_VERSION - and *count_out_ptr is set to NULL, if the specified version of the DRM is not supported.

SE_DRM_TYPE_DOES_NOT_EXIST - and *count_out_ptr is set to zero (0), if drm_type does not correspond to a valid type available to the requested version of the SEDRIS DRM.

SE_DRM_INVALID_TYPE_CLASSIFICATION - and *count_out_ptr is set to zero (0), if drm_type corresponds to a 'basic' type.

Prototype


extern SE_DRM_STATUS_CODE_ENUM
SE_GeneralFieldCountForType
(
SE_PINT16 major_drm_version, (notes)
SE_UINT8 minor_drm_version, (notes)
SE_PINT16 drm_type, (notes)
SE_UINT16 *count_out_ptr (notes)
);

Parameters Notes

major_drm_version

 major DRM version number of the DRM version for which this
 function is being called

minor_drm_version

 minor DRM version number of the DRM version for which this
 function is being called

drm_type

 represents a SEDRIS type, available for use by the requested
 version of the DRM.

count_out_ptr

 pointer to a variable within the user's memory space where the
 answer will be stored

Prev: General Field Count For Class. Next: General Field Index For Class. Up:Index.