Searched refs:SAFE_RELEASE (Results 1 – 6 of 6) sorted by relevance
49 #define SAFE_RELEASE(p) do { if ((p)) { (p)->Release(); (p) = NULL; } } while(0) macro315 SAFE_RELEASE(pIMMD); in CoreAudioIsSupported()561 SAFE_RELEASE(ptrDMO); in AudioDeviceWindowsCore()577 SAFE_RELEASE(_ptrEnumerator); in ~AudioDeviceWindowsCore()724 SAFE_RELEASE(_ptrRenderCollection); in Terminate()725 SAFE_RELEASE(_ptrCaptureCollection); in Terminate()726 SAFE_RELEASE(_ptrDeviceOut); in Terminate()727 SAFE_RELEASE(_ptrDeviceIn); in Terminate()728 SAFE_RELEASE(_ptrClientOut); in Terminate()729 SAFE_RELEASE(_ptrClientIn); in Terminate()[all …]
289 SAFE_RELEASE(m_pSurface); in cleanup()290 SAFE_RELEASE(m_pBackBuffer); in cleanup()291 SAFE_RELEASE(m_pD3D11SwapChain); in cleanup()292 SAFE_RELEASE(m_pRenderTarget); in cleanup()293 SAFE_RELEASE(m_pD3D11Dev); in cleanup()294 SAFE_RELEASE(m_pD3D11Ctx); in cleanup()
285 SAFE_RELEASE(m_pSurface); in cleanup()286 SAFE_RELEASE(m_pBackBuffer); in cleanup()287 SAFE_RELEASE(m_pD3D10SwapChain); in cleanup()288 SAFE_RELEASE(m_pRenderTarget); in cleanup()289 SAFE_RELEASE(m_pD3D10Dev); in cleanup()
286 SAFE_RELEASE(m_pSurface); in cleanup()287 SAFE_RELEASE(m_pBackBuffer); in cleanup()288 SAFE_RELEASE(m_pD3D9DevEx); in cleanup()289 SAFE_RELEASE(m_pD3D9Ex); in cleanup()
285 SAFE_RELEASE(m_pSurface); in cleanup()286 SAFE_RELEASE(m_pBackBuffer); in cleanup()287 SAFE_RELEASE(m_pD3D9Dev); in cleanup()288 SAFE_RELEASE(m_pD3D9); in cleanup()
17 #define SAFE_RELEASE(p) if (p) { p->Release(); p = NULL; } macro