This function controls the state of client data storage devices. Devices can be disabled and enabled through this function.
Function Header
IMRResult IMR_IDERSetDeviceState(
ClientID id,
IDERDeviceCmd *cmd,
IDERDeviceResult *result
);
Function Parameters
Field |
Input/Output |
Value or Description |
id |
Input |
The ID of the relevant client. |
cmd |
Input |
A pointer to a struct that holds disable/enable command and options. This parameter must not be NULL. |
result |
Output |
A pointer to a struct that will be filled by the library with the result of the command. This parameter must not be NULL. |
Function Return Status
For a complete list of possible error codes, see Error Codes.
Status |
Value or Description |
IMR_RES_OK |
The command finished successfully. |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |