Error: a function type is not allowed here
I am getting the error when defining a variable in a typedef struct.
1 2 3 4 5
|
typedef struct _RPDO_DEVICE_DATA
{
ULONG InstanceNo;
WDFQUEUE ParentQueue;
} RPDO_DEVICE_DATA, *PRPDO_DEVICE_DATA;
|
The error highlights ParentQueue as the error which is why the following removes the error but I need the WDFQUEUE variables name for later:
1 2 3 4 5
|
typedef struct _RPDO_DEVICE_DATA
{
ULONG InstanceNo;
WDFQUEUE;
} RPDO_DEVICE_DATA, *PRPDO_DEVICE_DATA;
|
Topic archived. No new replies allowed.