[ros-dev] [ros-diffs] [pschweitzer] 52065: [NTOSKRNL] - renamed Io volumes global to match Windows names (in case of debug) - renamed IopDereferenceVpb() to IopDereferenceVpbAndFree(), IopReferenceVpbForVerify() to IopR...

Alex Ionescu ionucu at videotron.ca
Thu Jun 2 17:54:24 UTC 2011


You need to cast to volatile.

(Same for Increment).

There's also no need to return the old value.

--
Best regards,
Alex Ionescu

On 2011-06-02, at 1:43 PM, pschweitzer at svn.reactos.org wrote:

> +    OldValue = (*Ulong)--;




More information about the Ros-dev mailing list