Retrieves all structural information about a class.
NOTE: The individual pieces of the structural information can be retrieved using the following sample code:
c_count = SE_ClassCount();
for (class_indx = SE_NULL_TOKEN; class_indx < c_count; class_indx++)
{
status_code = SE_FieldCountForClass(class_indx, &fc);
if (status_code == SE_DRM_SUCCESS)
{
for (i = 0; i < fc; i++)
status_code = SE_ithFieldInClass(class_indx, i, &field_ptr)
}
}
SE_DRM_NULL_REQUIRED_PARAMETER - and *result_out_ptr is left unchanged, if result_out_ptr is NULL.
SE_DRM_INVALID_VERSION - and *result_out_ptr is set to NULL, if the specified version of the DRM is not supported.
SE_DRM_CLASS_DOES_NOT_EXIST - and *result_out_ptr is set to NULL, if drm_class does not correspond to a valid DRM class.
| extern SE_DRM_STATUS_CODE_ENUM | |||||
| SE_GeneralGetClassStructure | |||||
| ( | |||||
| SE_PINT16 | major_drm_version, | (notes) | |||
| SE_UINT8 | minor_drm_version, | (notes) | |||
| SE_PINT16 | drm_class, | (notes) | |||
| const | SE_CLASS_STRUCTURE | * | * | result_out_ptr | (notes) |
| ); | |||||
major DRM version number of the DRM version for which this function is being called
minor DRM version number of the DRM version for which this function is being called
represents a SEDRIS DRM class in the specified DRM version.
pointer to variable in the user's memory space where the answer (a pointer) will be stored.