# CloseInstrDevs

int CloseInstrDevs (char *instrumentPrefix);

## Purpose

Closes all devices associated with an instrument module.

## Parameters

Input
Name | Type | Description
--- | --- | ---
instrumentPrefix | string | Must be null-terminated.

## Return Value

Name | Type | Description
--- | --- | ---
result | integer | Result of the close instrument devices operation.

### Return Code

Code | Description
0 | Success.

### Using This Function

instrumentPrefix specifies the prefix of the instrument module to close. CloseInstrDevs always returns zero. You should use CloseInstrDevs only in conjunction with OpenDev.