MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / GdiObjectSelection

Method GdiObjectSelection

Win32Lib/Win32Lib.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47GdiObjectSelection::GdiObjectSelection(HDC hdc, HGDIOBJ hObject) :
48 m_hdc(hdc), m_hObject(SelectObject(hdc, hObject))
49{
50 if (!m_hObject)
51 ThrowLastError("SelectObject");
52}
53
54GdiObjectSelection::~GdiObjectSelection()
55{

Callers

nothing calls this directly

Calls 1

ThrowLastErrorFunction · 0.85

Tested by

no test coverage detected