There's no need for DUMMYUNIONNAME in private headers.
This commit is contained in:
parent
201da3378d
commit
4e4460eaef
|
@ -304,9 +304,9 @@ typedef struct Direct3DVertexStridedData {
|
||||||
Direct3DStridedData diffuse;
|
Direct3DStridedData diffuse;
|
||||||
Direct3DStridedData specular;
|
Direct3DStridedData specular;
|
||||||
Direct3DStridedData texCoords[8];
|
Direct3DStridedData texCoords[8];
|
||||||
} DUMMYSTRUCTNAME;
|
} s;
|
||||||
Direct3DStridedData input[16]; /* Indexed by constants in D3DVSDE_REGISTER */
|
Direct3DStridedData input[16]; /* Indexed by constants in D3DVSDE_REGISTER */
|
||||||
} DUMMYUNIONNAME;
|
} u;
|
||||||
} Direct3DVertexStridedData;
|
} Direct3DVertexStridedData;
|
||||||
|
|
||||||
#define USE_GL_FUNC(type, pfn) type pfn;
|
#define USE_GL_FUNC(type, pfn) type pfn;
|
||||||
|
|
|
@ -335,7 +335,7 @@ typedef struct {
|
||||||
union {
|
union {
|
||||||
TW_UINT32 EOJ;
|
TW_UINT32 EOJ;
|
||||||
TW_UINT32 Reserved;
|
TW_UINT32 Reserved;
|
||||||
} DUMMYUNIONNAME;
|
} u;
|
||||||
} TW_PENDINGXFERS, FAR *pTW_PENDINGXFERS;
|
} TW_PENDINGXFERS, FAR *pTW_PENDINGXFERS;
|
||||||
|
|
||||||
/* DAT_RGBRESPONSE */
|
/* DAT_RGBRESPONSE */
|
||||||
|
|
|
@ -330,11 +330,11 @@ typedef struct {
|
||||||
struct {
|
struct {
|
||||||
LONG lMinimum; /* signed minimum for this control */
|
LONG lMinimum; /* signed minimum for this control */
|
||||||
LONG lMaximum; /* signed maximum for this control */
|
LONG lMaximum; /* signed maximum for this control */
|
||||||
} DUMMYSTRUCTNAME;
|
} s;
|
||||||
struct {
|
struct {
|
||||||
DWORD dwMinimum; /* unsigned minimum for this control */
|
DWORD dwMinimum; /* unsigned minimum for this control */
|
||||||
DWORD dwMaximum; /* unsigned maximum for this control */
|
DWORD dwMaximum; /* unsigned maximum for this control */
|
||||||
} DUMMYSTRUCTNAME1;
|
} s1;
|
||||||
DWORD dwReserved[6];
|
DWORD dwReserved[6];
|
||||||
} Bounds;
|
} Bounds;
|
||||||
union {
|
union {
|
||||||
|
@ -350,7 +350,7 @@ typedef struct {
|
||||||
union {
|
union {
|
||||||
DWORD dwControlID; /* MIXER_GETLINECONTROLSF_ONEBYID */
|
DWORD dwControlID; /* MIXER_GETLINECONTROLSF_ONEBYID */
|
||||||
DWORD dwControlType; /* MIXER_GETLINECONTROLSF_ONEBYTYPE */
|
DWORD dwControlType; /* MIXER_GETLINECONTROLSF_ONEBYTYPE */
|
||||||
} DUMMYUNIONNAME;
|
} u;
|
||||||
DWORD cControls; /* count of controls pmxctrl points to */
|
DWORD cControls; /* count of controls pmxctrl points to */
|
||||||
DWORD cbmxctrl; /* size in bytes of _one_ MIXERCONTROL */
|
DWORD cbmxctrl; /* size in bytes of _one_ MIXERCONTROL */
|
||||||
SEGPTR pamxctrl; /* pointer to first MIXERCONTROL array */
|
SEGPTR pamxctrl; /* pointer to first MIXERCONTROL array */
|
||||||
|
@ -363,7 +363,7 @@ typedef struct {
|
||||||
union {
|
union {
|
||||||
HWND16 hwndOwner; /* for MIXER_SETCONTROLDETAILSF_CUSTOM */
|
HWND16 hwndOwner; /* for MIXER_SETCONTROLDETAILSF_CUSTOM */
|
||||||
DWORD cMultipleItems; /* if _MULTIPLE, the number of items per channel */
|
DWORD cMultipleItems; /* if _MULTIPLE, the number of items per channel */
|
||||||
} DUMMYUNIONNAME;
|
} u;
|
||||||
DWORD cbDetails; /* size of _one_ details_XX struct */
|
DWORD cbDetails; /* size of _one_ details_XX struct */
|
||||||
LPVOID paDetails; /* pointer to array of details_XX structs */
|
LPVOID paDetails; /* pointer to array of details_XX structs */
|
||||||
} MIXERCONTROLDETAILS16,*LPMIXERCONTROLDETAILS16;
|
} MIXERCONTROLDETAILS16,*LPMIXERCONTROLDETAILS16;
|
||||||
|
|
Loading…
Reference in New Issue