#334 Bad declaration of KIRQL in winddk.h

closed-fixed
2003-04-07
2003-04-06
No

In the line 130 of winddk.h (from w32api-2.2.tar.gz)
the KIRQL type is declared so:

typedef ULONG KIRQL, *PKIRQL;

We can find this declaration in nddk.h from old
versions of w32api.

This is not correct and will produce error when you
use the IRP structure and macros as
IoGetCurrentIrpStackLocation().

KIRQL is really char type, so that the correct
declarations is:

typedef UCHAR KIRQL;
typedef KIRQL *PKIRQL;

greetings
numit_or
numit_or@cantv.net

Discussion

  • Danny Smith

    Danny Smith - 2003-04-07
    • status: open --> closed-fixed
     
  • Danny Smith

    Danny Smith - 2003-04-07

    Logged In: YES
    user_id=11494

    Fixed in CVS
    Danny

     

Log in to post a comment.