Partager via


GetOwnerProcess (Windows Embedded CE 6.0)

1/6/2010

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

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

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