| 1757 | } |
| 1758 | |
| 1759 | __inline BYTE *DialogTemplate_GetFontSizeField ( const DLGTEMPLATE *pTemplate ) |
| 1760 | { |
| 1761 | BOOL bDialogEx = DialogTemplate_IsDialogEx ( pTemplate ); |
| 1762 | WORD *pw; |
| 1763 | if ( bDialogEx ) { |
| 1764 | pw = ( WORD * ) ( ( DLGTEMPLATEEX * ) pTemplate + 1 ); |
| 1765 | } else { |
| 1766 | pw = ( WORD * ) ( pTemplate + 1 ); |
| 1767 | } |
| 1768 | if ( *pw == ( WORD ) - 1 ) { |
| 1769 | pw += 2; |
| 1770 | } else |
| 1771 | while ( *pw++ ); |
| 1772 | if ( *pw == ( WORD ) - 1 ) { |
| 1773 | pw += 2; |
| 1774 | } else |
| 1775 | while ( *pw++ ); |
| 1776 | while ( *pw++ ); |
| 1777 | return ( BYTE * ) pw; |
| 1778 | } |
| 1779 | |
| 1780 | DLGTEMPLATE *LoadThemedDialogTemplate ( LPCTSTR lpDialogTemplateID, HINSTANCE hInstance ) |
| 1781 | { |
no test coverage detected