#include <dmi2mem.h>DmiErrorStatus_t DMI_API DmiFree ( /* [in] */ void * ptr, /* [in] */ DmiMemDsc_t memDsc );
DmiErrorStatus_t DmiFreeTimestamp ( DmiTimestamp_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeString ( DmiString_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeOctetString ( DmiOctetString_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeDataUnion ( DmiDataUnion_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeEnumInfo ( DmiEnumInfo_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeAttributeInfo ( DmiAttributeInfo_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeAttributeData ( DmiAttributeData_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeGroupInfo ( DmiGroupInfo_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeComponentInfo ( DmiComponentInfo_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeFileDataInfo ( DmiFileDataInfo_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeClassNameInfo ( DmiClassNameInfo_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeRowRequest ( DmiRowRequest_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeRowData ( DmiRowData_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeAttributeIds ( DmiAttributeIds_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeAttributeValues ( DmiAttributeValues_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeEnumList ( DmiEnumList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeAttributeList ( DmiAttributeList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeGroupList ( DmiGroupList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeComponentList ( DmiComponentList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeFileDataList ( DmiFileDataList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeClassNameList ( DmiClassNameList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeStringList ( DmiStringList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeFileTypeList ( DmiFileTypeList_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeMultiRowRequest ( DmiMultiRowRequest_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeMultiRowData ( DmiMultiRowData_t * ptr, DmiMemDsc_t memDsc);
DmiErrorStatus_t DmiFreeNodeAddress ( DmiNodeAddress_t * ptr, DmiMemDsc_t memDsc);
All functions for deleting DMI structures are prefixed with DmiFree. The functions free data of the type specified by the suffix. For example, DmiFreeTimeStamp frees a DmiTimeStamp.
DmiFree releases a memory block allocated in the memory model specified by the memDsc parameter and pointed to by the ptr parameter.
For a description of return values, see ``DMI error codes'' in Desktop Management Interface programming.