public int QueryTextMetrics([NativeTypeName("TEXTMETRICOLE *")] TEXTMETRICW *pTM)
 {
     return(((delegate * stdcall <IFont *, TEXTMETRICW *, int>)(lpVtbl[23]))((IFont *)Unsafe.AsPointer(ref this), pTM));
 }
Example #2
0
 public static extern int GetThemeTextMetrics([NativeTypeName("HTHEME")] IntPtr hTheme, [NativeTypeName("HDC")] IntPtr hdc, int iPartId, int iStateId, TEXTMETRICW *ptm);
 public static extern HRESULT GetThemeTextMetrics(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, TEXTMETRICW *ptm);