Hi ,
I am trying to use openThread() to get cpu utilization of an agent from process a .So i just want to check if
its possible ? I am trying to open agent thread from a different process b not from process a.The below code is used for the same
tempTID = kernelTID;
thrdHand=OpenThread(THREAD_QUERY_INFORMATION,FALSE,tempTID);
The above function return error code as 5 ie thrHand is found to be Null.
I dont see any issue on tempTID.
I have all the privileges and rights which allows me to use the above function .
I am trying to use openThread() to get cpu utilization of an agent from process a .So i just want to check if
its possible ? I am trying to open agent thread from a different process b not from process a.The below code is used for the same
tempTID = kernelTID;
thrdHand=OpenThread(THREAD_QUERY_INFORMATION,FALSE,tempTID);
The above function return error code as 5 ie thrHand is found to be Null.
I dont see any issue on tempTID.
I have all the privileges and rights which allows me to use the above function .