KeServiceDescriptorTable

All:
Am trying to access this variable (exported from ntoskrnl.exe) in a
driver. It’s a simple Win2K driver (so far). I’m having link problems,
unresolved externals, … I’ve tried several different combinations for
the service table structures so I don’t think this is the problem. I’ve
even used code from the web and books directly. I’m sure I’m missing
something simple. Ntoskrnl.lib is linked into the project. I’ve also tried
this under Driverworks with the same result…

Any ideas ???

Thanks,

Chuck

Hi, Chuck:

I import this symbol on the following way:

extern PSRVTABLE KeServiceDescriptorTable;

where PSRVTABLE is:

typedef struct _SRVTABLE
{
PVOID *ServicePointers;
ULONG Count;
ULONG Limit;
PVOID *NumArguments;
} SRVTABLE, *PSRVTABLE;

I hope this could help you. Regards,

Jose Vicente.

-----Mensaje original-----
De: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]En nombre de chuck m
Enviado el: mi?rcoles, 19 de marzo de 2003 0:03
Para: NT Developers Interest List
Asunto: [ntdev] KeServiceDescriptorTable

All:
Am trying to access this variable (exported from ntoskrnl.exe) in a
driver. It’s a simple Win2K driver (so far). I’m having link problems,
unresolved externals, … I’ve tried several different combinations for
the service table structures so I don’t think this is the problem. I’ve
even used code from the web and books directly. I’m sure I’m missing
something simple. Ntoskrnl.lib is linked into the project. I’ve also tried
this under Driverworks with the same result…

Any ideas ???

Thanks,

Chuck


You are currently subscribed to ntdev as: xxxxx@secuware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com