d       CHECK_REFCOUNT(localdev, 0);       CHECK_REFCOUNT(localtex, 0);       CHECK_REFCOUNT(localsrv, 0);        localsrv->Release();       localsrv->Release();       localsrv->Release();        CHECK_REFCOUNT(localdev, 0);       CHECK_REFCOUNT(localtex, 0);       CHECK_REFCOUNT(localsrv, 0);        dbg->ReportLiveDeviceObjects(D0D00_RLDO_DETAIL);        ////////////////////////////////////////////////////////////       // check 