BCGControlBar Pro for MFC
int CBCGPGlobalUtils::GetSystemMetricsForDPI ( const CWnd *  pWnd,
int  nIndex 
)

The standard Windows GetSystemMetricsForDPI method wrapper.

Parameters
pWndThe pointer to the CWnd object. If this parameter is a CWnd::wndTop address, the active (currently drawn) window will be used.
nIndexThe system metric or configuration setting to be retrieved.