Files
systeminformer/plugins/include/commonutil.h
T
2016-04-02 14:31:55 +03:00

18 lines
270 B
C

#ifndef _COMMONUTIL_H
#define _COMMONUTIL_H
FORCEINLINE
HFONT
CommonDuplicateFont(
_In_ HFONT Font
)
{
LOGFONT logFont;
if (GetObject(Font, sizeof(LOGFONT), &logFont))
return CreateFontIndirect(&logFont);
else
return NULL;
}
#endif