INtime SDK Help
GetRtPhysicalAddress64
INtime SDK v7.1 > About INtime > INtime Kernel > Memory management > GetRtPhysicalAddress64

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 64-bit value representing the extended physical address of the buffer is returned.

QWORD GetRtPhysicalAddress64(
    PVOID pOffset,    // pointer to buffer
    DWORD cbLength,     // length of buffer
    DWORD dwReserved    // reserved value
);

Parameters

pOffset
A pointer to the buffer whose address will be converted.
cbLength
The length of the buffer.
dwReserved
Reserved for future use.

Return Values

The 64-bit physical address for a valid buffer described by the call parameters.
Success.
BAD_PHYSICAL_ADDRESS_64
Failure. To determine the status, call GetLastRtError.

Requirements

Versions Defined in Include Link to
INtime 6.2 intime/rt/include/rtbase.h rt.h rt.lib
See Also