Austin English austinenglish@gmail.com writes:
+++ b/include/ddk/ntifs.h @@ -19,6 +19,18 @@ #ifndef __NTIFS_H__ #define __NTIFS_H__
+typedef struct _EX_PUSH_LOCK {
- union {
- struct {
ULONG waiting : 1;
ULONG exclusive : 1;
ULONG shared : 30;
- } DUMMYSTRUCTNAME;
- ULONG value;
- VOID *ptr;
- } DUMMYUNIONNAME;
+} EX_PUSH_LOCK, *PEX_PUSH_LOCK;
Where does this come from?
On Fri, Oct 16, 2015 at 6:28 AM, Alexandre Julliard julliard@winehq.org wrote:
Austin English austinenglish@gmail.com writes:
+++ b/include/ddk/ntifs.h @@ -19,6 +19,18 @@ #ifndef __NTIFS_H__ #define __NTIFS_H__
+typedef struct _EX_PUSH_LOCK {
- union {
- struct {
ULONG waiting : 1;
ULONG exclusive : 1;
ULONG shared : 30;
- } DUMMYSTRUCTNAME;
- ULONG value;
- VOID *ptr;
- } DUMMYUNIONNAME;
+} EX_PUSH_LOCK, *PEX_PUSH_LOCK;
Where does this come from?
-- Alexandre Julliard julliard@winehq.org
http://www.math.uiuc.edu/~gfrancis/illimath/windows/aszgard_mini/bin/MinGW/i...
Austin English austinenglish@gmail.com writes:
On Fri, Oct 16, 2015 at 6:28 AM, Alexandre Julliard julliard@winehq.org wrote:
Austin English austinenglish@gmail.com writes:
+++ b/include/ddk/ntifs.h @@ -19,6 +19,18 @@ #ifndef __NTIFS_H__ #define __NTIFS_H__
+typedef struct _EX_PUSH_LOCK {
- union {
- struct {
ULONG waiting : 1;
ULONG exclusive : 1;
ULONG shared : 30;
- } DUMMYSTRUCTNAME;
- ULONG value;
- VOID *ptr;
- } DUMMYUNIONNAME;
+} EX_PUSH_LOCK, *PEX_PUSH_LOCK;
Where does this come from?
-- Alexandre Julliard julliard@winehq.org
http://www.math.uiuc.edu/~gfrancis/illimath/windows/aszgard_mini/bin/MinGW/i...
Yours is different, plus there are many other different ones floating around. It's supposed to be an opaque type, I don't think we need that definition at all.