Returns the physical address for a valid buffer described by the call parameters. If the buffer is read-write and contiguous across the range of cbLength, and is mapped into the caller's virtual segment, a value representing the physical address of the buffer is returned.
DWORD GetRtPhysicalAddress(
    PVOID pOffset,      // pointer to buffer
    DWORD cbLength,     // length of buffer
    DWORD dwReserved    // reserved value
);
pOffset 
cbLength 
dwReserved 
Note that if the physical address of the buffer is greater than 0xFFFFFFFF then this call will fail with status E_LIMIT.
BAD_PHYSICAL_ADDRESS 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |