19 #include "../../../core/deleter.hpp"
21 #include <boost/noncopyable.hpp>
38 register DWORD ret=::WNetCloseEnum(*t);
39 JMMCG_TRACE(
_T(
"NetEnumDeallocator::~operator()(): Windows error code: ")<<win_exception::StrFromWinErr(ret!=NO_ERROR ? ::GetLastError() : 0));
41 deleter_t().operator()(t);
52 assert(pNetApiBufferFree);
57 register NET_API_STATUS ret=(*pNetApiBufferFree)(t);
58 JMMCG_TRACE(
_T(
"NetAPIDeallocator::~operator()(): Windows error code: ")<<win_exception::StrFromWinErr(ret!=NO_ERROR ? ::GetLastError() : 0));
63 const pNetApiBufferFreeType pNetApiBufferFree;