ZwOpenThread

Hello all,

I am having problems calling ZwOpenThread() from within my driver, I get a
status return value of 13, I have called LsaNtStatusToWinError() to get
the Win32 error code but get a return value of ERROR_MR_MID_NOT_FOUND
which does not help.

Does anyone know what this error code means (13).

I am using Windows XP as my development environment.

Thanks in advance.

Dave

Greetings mortal, Dave!
You wrote on Wed, 3 Aug 2005 14:58:56 +0100 (BST):

DW> I am having problems calling ZwOpenThread() from within my driver, I
DW> get a status return value of 13, I have called
DW> LsaNtStatusToWinError() to get the Win32 error code but get a return
DW> value of ERROR_MR_MID_NOT_FOUND which does not help.

DW> Does anyone know what this error code means (13).

0: kd> !error 0n13
Error code: (Win32) 0xd (13) - The data is invalid.

Eugene.