AtaPortRequestPowerStateChange function (irb.h)
The AtaPortRequestPowerStateChange routine requests a power state transition for the indicated device.
Syntax
void AtaPortRequestPowerStateChange(
PVOID ChannelExtension,
UCHAR TargetId,
UCHAR Lun,
IDE_POWER_STATE DesiredPowerState
);
Parameters
ChannelExtension
A pointer to the channel extension.
TargetId
Specifies the target identifier of the device.
Lun
Specifies the logical unit number (LUN).
DesiredPowerState
Contains an enumerator value of type IDE_POWER_STATE that indicates the power state to which the indicated device should be changed.
Return value
None
Remarks
The AtaPortRequestPowerStateChange routine is used when a miniport driver might have to initiate a power state change, such as when a hot-plug operation occurs.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | irb.h (include Ata.h, Irb.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for