Jump to main content

# 1.1.2.4.3 DRV_G3_MACRT_Close Function

## C

    void DRV_G3_MACRT_Close(const DRV_HANDLE handle);

## Summary

Closes an opened instance of the G3 MAC RT driver.

## Description

This routine closes an opened instance of the G3 MAC RT driver, invalidating the handle. A new handle must be obtained by calling DRV_G3_MACRT_Open before the caller uses the driver again.

## Precondition

DRV_G3_MACRT_Open must have been called to obtain a valid opened device handle.

## Parameters

Param | Description
--- | ---
handle | A valid instance handle, returned from the driver DRV_G3_MACRT_Open routine.

## Returns

None.

## Example

    // 'handle', returned from DRV_G3_MACRT_Open previously called

    DRV_G3_MACRT_Close(handle);

## Remarks

None.

Rev: G