Ole32CoGetCurrentProcess Method

Returns a value that is unique to the current thread.

CoGetCurrentProcess can be used to avoid thread ID reuse problems.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Ole32.dll", ExactSpelling = true)]
public static uint CoGetCurrentProcess()

Return Value

UInt32
The function returns the unique identifier of the current thread.

Remarks

See Also