Device Function
dev_Uninitialize()
Uninitialize the device library.
#include "device.h"
LResult dev_Uninitialize
(
void
);
dev_Uninitialize() frees any memory allocated by dev_Initialize() and returns internal variables to their initial state.
dev_Uninitialize() always returns a non-negative value.
if (deviceCount == 0)
{
dev_Uninitialize();
lgo_UnitializeStack();
exit(EXIT_SUCCESS);
}