MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / CGdiHandle

Class CGdiHandle

cppcryptfs/ui/MountPropertyPage.cpp:458–465  ·  view source on GitHub ↗

Helper class to release GDI object handle when scope ends:

Source from the content-addressed store, hash-verified

456
457// Helper class to release GDI object handle when scope ends:
458class CGdiHandle
459{
460public:
461 CGdiHandle(HGDIOBJ handle) : m_handle(handle) {};
462 ~CGdiHandle() { DeleteObject(m_handle); };
463private:
464 HGDIOBJ m_handle;
465};
466
467
468// CMountPropertyPage message handlers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected