dmi_platform_destroy

Synopsis

#include <opendmi/platform.h>

void dmi_platform_destroy(dmi_platform_t *platform);

Description

The dmi_platform_destroy function destroys a platform along with the product name and the family code it holds. It does nothing if platform is nullptr.

The platform of a context, returned by dmi_get_platform, belongs to the context, and is not destroyed by the caller.

Parameters

platform

Platform to destroy, or nullptr.

Return value

None.

Errors

None.