Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function returns the process handle of the current thread owner.
HANDLEGetOwnerProcess(void);
Parameters
None.
Return Values
Handle to the owner process.
Remarks
This function is typically used by a driver to determine which process really owns the thread making the function call.
Because a driver runs in a different process space (device.exe) than a calling process, it is important, in certain situations, to know which process is making the call.
To map a pointer from the current calling process address space, use this function in conjunction with the MapPtrToProcess function in a driver.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.
See Also
MapPtrToProcess | GetCallerProcess
Send Feedback on this topic to the authors