Beispiel #1
0
int TvDeviceStop(void)
{
	UpnpUnRegisterRootDevice(device_handle);
	UpnpFinish();
	SampleUtil_Finish();
	ithread_mutex_destroy(&TVDevMutex);

	return UPNP_E_SUCCESS;
}
Beispiel #2
0
////////////////////////////////////////
//stop the client
////////////////////////////////////////
int
TvCtrlPointStop( void )
{
    TvCtrlPointRemoveAll(  );
    UpnpUnRegisterClient( ctrlpt_handle );
    UpnpFinish(  );
    SampleUtil_Finish(  );
    return TV_SUCCESS;
}