Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mkdym committed Oct 22, 2015
1 parent 00189f7 commit 0e4c7cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DaemonSvc/scoped_handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
// const DWORD e = GetLastError();
//if you don't recover last error code, then e may be CloseHandle's last error code
//invalid_value may be NULL or INVALID_HANDLE_VALUE
//todo: make type 'HANDLE' and func 'CloseHandle' be template parameters
template<HANDLE invalid_value = NULL>
class scoped_handle : public boost::noncopyable
{
Expand Down

0 comments on commit 0e4c7cb

Please sign in to comment.