Jump to main content

##

# 1.1.3.4.20 DRV_MEMORY_AddressGet Function

## C

    uintptr_t DRV_MEMORY_AddressGet
    (
        const DRV_HANDLE handle
    );

## Summary

Returns the Memory media start address

## Description

This function returns the Memory Media start address.

## Precondition

The DRV_MEMORY_Open() routine must have been called to obtain a valid opened device handle.

## Parameters

Param | Description
--- | ---
handle | A valid open-instance handle, returned from the driver's open function

## Returns

Start address of the Memory Media if the handle is valid otherwise NULL.

## Example

    uintptr_t startAddress;
    startAddress = DRV_MEMORY_AddressGet(drvMEMORYHandle);

## Remarks

None.