ihuGetUserDefinedTypes

Use the ihuGetUserDefinedTypes function to return a list of user-defined types and their values. After you call this function, you must call ihuUserDefinedTypeFreeProperties() to release memory allocations.

Prototype

ihuGetUserDefinedTypes
(
long serverhandle, // [in] connected server handle
MSO_Char *StructSetMask, //[in] Pass * to get the all the Structure or pass the name of the structure you want
long *numberofrecords, //[out] Number of records
ihuUserDefinedTypeRecordSet *RecordSet //[out] returns the records for the UserDefined defined types
)

Remarks

You must be a member of the ihReader group to get a list of user-defined types. The list is returned in the RecordSet parameter.

Returns

  • ihuSTATUS_OK: on success
  • ihuSTATUS_INVALID_PARAMETER: NULL value passed for StructSetMask or RecordSet or numberofrecords
  • ihuSTATUS_FAILED: on any error