mirror of
https://github.com/reactos/reactos.git
synced 2024-09-16 07:39:32 +00:00
Update ENUMFONTDATAW structure based on returned data.
svn path=/trunk/; revision=28590
This commit is contained in:
parent
067d30c566
commit
abf715b9b2
|
@ -120,18 +120,36 @@ typedef struct _TMW_INTERNAL
|
||||||
TMDIFF Diff;
|
TMDIFF Diff;
|
||||||
} TMW_INTERNAL, *PTMW_INTERNAL;
|
} TMW_INTERNAL, *PTMW_INTERNAL;
|
||||||
|
|
||||||
|
typedef struct _DESIGNVECTORINT {
|
||||||
|
DWORD dvReserved;
|
||||||
|
DWORD dvNumAxes;
|
||||||
|
LONG dvValues[0];
|
||||||
|
} DESIGNVECTORINT, *PDESIGNVECTORINT;
|
||||||
|
|
||||||
|
typedef struct _ENUMFONTDATAINT
|
||||||
|
{
|
||||||
|
DWORD dwReserved;
|
||||||
|
DWORD dwReserved1;
|
||||||
|
ENUMTEXTMETRICW etmTm;
|
||||||
|
} ENUMFONTDATAINT, *PENUMFONTDATAINT;
|
||||||
|
|
||||||
typedef struct _ENUMFONTDATAW
|
typedef struct _ENUMFONTDATAW
|
||||||
{
|
{
|
||||||
DWORD cbSize; // Size of ENUMFONTDATAW + (size of ENUMTEXTMETRIC + ENUMLOGFONTEXDV)
|
DWORD dwSize; // Full size of this structure.
|
||||||
PENUMTEXTMETRIC lpentm; // Ptr with in this structure. ^^^ if Win2k + ^^^
|
ULONG ulOffsetTM; // Offset to enfdi in this structure.
|
||||||
DWORD FontType;
|
DWORD dwFontType; // If sign set scale enum.
|
||||||
PENUMLOGFONTEXDV lpelfedv; // Prt with in this structure.
|
ENUMLOGFONTEXW elfex;
|
||||||
// The rest of the structure is variable in size.
|
/*
|
||||||
// Based on iEnumType and Win32Compat flags,,
|
* Yuam 14.5:
|
||||||
// if w2k+ {ENUMTEXTMETRIC else NEWTEXTMETRICS} or TEXTMETRIC
|
* DESIGNVECTOR is a variable-size data structure that specifies the number of
|
||||||
// if w2k+ {ENUMLOGFONTEXDV else ENUMLOGFONT} or LOGFONT
|
* axes and a value for each axis.
|
||||||
|
* So it maybe smaller than MM_MAX_NUMAXES.
|
||||||
|
*/
|
||||||
|
DESIGNVECTORINT DesignVectori;
|
||||||
|
ENUMFONTDATAINT enfdi;
|
||||||
} ENUMFONTDATAW, *PENUMFONTDATAW;
|
} ENUMFONTDATAW, *PENUMFONTDATAW;
|
||||||
|
|
||||||
|
|
||||||
/* Number Representation */
|
/* Number Representation */
|
||||||
typedef struct _EFLOAT_S
|
typedef struct _EFLOAT_S
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue