The _InterlockedIncrement intrinsic has the following declaration:
long _InterlockedIncrement( long *lp );
This intrinsic function increments the value of the semaphore data location pointed to by lp and returns the new value.