Alex Ionescu wrote:
Emanuele Aliberti wrote:
<snip>
extern POBJECT_TYPE *IoFileObjectType; /* <- Official DDK headers */ extern NTOSAPI POBJECT_TYPE IoFileObjectType; /* <- W32API headers */
Slightly different in the way you access the object, but both export the pointer.
1. POBJECT_TYPE*, i.e. OBJECT_TYPE** 2. POBJECT_TYPE, i.e. OBJECT_TYPE*
There's a vital pointer indirection difference between the two.
/Mike