Windows CE 3.0

This function returns the process identifier of the calling process.

DWORD GetCurrentProcessId(void);

Return Values

The identifier of the calling process indicates success.


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


Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Kfuncs.h   Nk.lib
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also


 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.