Jump to main content

##

# DRV_MIIM_OperationAbort Function

## C

    DRV_MIIM_RESULT DRV_MIIM_OperationAbort(DRV_HANDLE handle, DRV_MIIM_OPERATION_HANDLE opHandle);

## Returns

DRV_MIIM_RES_OK for success; operation has been aborted < 0 - an error has occurred and the operation could not be completed

## Description

Aborts a current client operation initiated by the MIIM driver.

## Remarks

This operation will stop/abort a scan operation started by DRV_MIIM_Scan.

## Preconditions

- The DRV_MIIM_Initialize routine must have been called.

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

- A driver operation was started