Closed lalitshankarchowdhury closed 3 months ago
Use COM smart pointer (ComPtr) to simplify memory management in WASAPI code.
ComPtr
This reduces chances of calling Release() when a COM object has not been allocated.
Release()
Use COM smart pointer (
ComPtr
) to simplify memory management in WASAPI code.This reduces chances of calling
Release()
when a COM object has not been allocated.