GetCurrentProcessId (Windows Embedded CE 6.0)

1/6/2010

This function returns the process identifier of the calling process.

Syntax

DWORD GetCurrentProcessId(void);

Parameters

None.

Return Value

Process identifier of the calling process.

Remarks

In Windows Embedded CE, the process identifier returned from this function is the same as the process handle. Until the process terminates, the process identifier uniquely identifies the process throughout the system.

Requirements

Header kfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Process and Thread Functions
GetCurrentProcess