winapi - How can I know the type of dc (Windows device context) with Windows API -
i got handle of dc (of type hdc ) under windows. can type of cd(memory dc, window dc ,printer etc.) windows apis?
this in general not possible, , not necessary either. device context meant abstract underlying implementation.
occasionally, however, helpful know, contents of device context displayed, adjust rendering, example. calling getdevicecaps nindex set technology
retrieves information. doesn't allow discern between 4 device context types plus subtypes, though.
Comments
Post a Comment