## Physical Device Driver Reference

[prev][next][parent][TOC]

### POWER_OEMFUNCTION (45h) - Remarks

On input, the ParmLength field indicates the size of the Parameter Packet in bytes. On output, the ParmLength field indicates either the number of bytes written (without error) or the minimum required size for the function (with the PowerBadLength error code value) to be completed.

If the APM Subsystem is not connected to APM BIOS, this command will fail with a ReturnCode value of PowerDisabled. However, it is not required that APM be Enabled or Engaged to issue this command. This command is supported under APM version 1.1 and higher, but not under APM 1.0. An attempt to issue this command under APM version 1.0 will result in a PowerNotSupported error.