CoGetCurrentProcess

DWORD CoGetCurrentProcess(void)

Return a value unique to the current process. More precisely, return a value unique to the current process to the degree that it will not be reused until 2 [to the 32nd power] further processes have been created on the current workstation.

Argument

Type

Description

return value

DWORD

A value unique to the current process.