// wdfcore.h
size_t WDF_PTR_GET_OFFSET(
_base,
_addr
);
View the official Windows hardware development documentationNo description available.
The WDF_PTR_GET_OFFSET macro subtracts an address from another address and returns the resulting offset value.
_base Specifies the value to subtract from the starting address.
_addr Specifies the starting address.
Returns the offset between the two specified addresses.
The macro is defined as follows:
#define WDF_PTR_GET_OFFSET(_base, _addr) \
(size_t) (((PUCHAR) _addr) - ((PUCHAR) _base))
| Target platform | Universal |
| Minimum KMDF version | 1.5 |
| Minimum UMDF version | 2.0 |
| Header | Wdfcore.h (include Wdf.h) |