GetOwnerProcess

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function returns the process handle of the current thread owner.

Syntax

HANDLE GetOwnerProcess (void);

Parameters

None.

Return Value

Handle to the owner process.

Remarks

For All Platforms:

This function is typically used by a driver to determine what process owns the thread making the function call.

For Windows Embedded CE:

Because a driver runs in a different process space (**device.dll in Windows Embedded CE ) than a calling process, it is important in certain situations to know what process is making the call to this function.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Kernel Functions
GetCallerProcess