GetCurrentProcessId

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function returns the process identifier of the calling process.


DWORD GetCurrentProcessId(void);

None.

Process identifier of the calling process.

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.

Headerkfuncs.h
Librarycoredll.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: