Windows 10 Why is there a +1 or -1 on a buffer or cast?

ExylonFiber

Well-Known Member
Joined
Apr 25, 2020
I cannot figure out why +1 or -1 is added to a cast or a buffer such as,

Code:
firmwareRequest = (PFIRMWARE_REQUEST_BLOCK)(srbControl + 1);

as listed on the MSDN page:

I searched google and could not find the answer as to why this practice is implemented in programming pertaining to buffers and structures in particular.
 
Back
Top Bottom