Share via


GetOwnerProcess (Windows CE 5.0)

Send Feedback

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.