Reference

InterlockedIncrement(3w)

NAME

InterlockedIncrement (KERNEL32.@)

SYNOPSIS

LONG InterlockedIncrement
(
LONG volatile* dest
)

DESCRIPTION

Atomically increment a value.

PARAMS

dest [In/Out] The value to increment.

RETURNS

The resulting value of dest.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/sync.c".

Debug channel "sync".

History