次の方法で共有


GetCurrentProcessId (Compact 2013)

3/28/2014

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 Compact, 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

See Also

Reference

Process and Thread Functions
GetCurrentProcess