06.01.2015 Views

Stylistic 1200 Tech Reference Manual (PDF) - The Labs

Stylistic 1200 Tech Reference Manual (PDF) - The Labs

Stylistic 1200 Tech Reference Manual (PDF) - The Labs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Resume Time 8<br />

This section describes functions which allow you to set or retrieve settings for the Resume On Time BIOS<br />

option.<br />

BiosSetupSetResumeTime 8<br />

This function sets the resume time and enables (or disables) the Resume On Time BIOS option. A<br />

prototype of this function is shown below:<br />

int BiosSetupSetResumeTime ( BYTE cBCDHour,<br />

BYTE cBCDMin,<br />

BYTE cBCDSec,<br />

BOOL bPermanent,<br />

BOOL bEnableIt )<br />

This function accepts three byte values that determine the resume time in hours, minutes, and seconds<br />

and also accepts two Boolean values which specify whether the permanent or current setting is to be set<br />

and whether the Resume On Time option is enabled. Details on these parameters are given in the<br />

following:<br />

Parameter<br />

cBCDHour<br />

cBCDMin<br />

cBCDSec<br />

bPermanent<br />

bEnableIt<br />

Description<br />

Byte value that specifies hour setting in BCD format.<br />

Acceptable values: 0 to 23 (must be in BCD format)<br />

Byte value that specifies minutes setting in BCD format.<br />

Acceptable values: 0 to 59 (must be in BCD format)<br />

Byte value that specifies seconds setting in BCD format.<br />

Acceptable values: 0 to 59 (must be in BCD format)<br />

TRUE = Permanent setting<br />

FALSE = Current setting<br />

TRUE = Enable Resume On Time option.<br />

FALSE = Disable Resume On Time option.<br />

Note that you must specify all parameters when calling this function. You cannot use this function to<br />

enable or disable the Resume On Time option without passing the other parameters this function accepts.<br />

BiosSetupGetResumeTime 8<br />

This function retrieves settings for the Resume On Time option. A prototype of this function is given<br />

below:<br />

DWORD BiosSetupGetResumeTime ( BOOL bPermanent )<br />

This function accepts a Boolean value which determines whether the permanent or current settings are<br />

retrieved. This function returns a double word (32-bit value) which contains the Resume On Time option<br />

settings as follows.<br />

Return Value<br />

Byte 3 (bits 31-24)<br />

Byte 2 (bits 23-16)<br />

Byte 1 (bits 15-8)<br />

Byte 0 (bits 7-0)<br />

Description<br />

Hour setting in BCD format.<br />

Minutes setting in BCD format.<br />

Seconds setting in BCD format.<br />

0000 0000 2 = Resume On Time option disabled.<br />

0000 0001 2 = Resume On Time option enabled.<br />

8-12 BIOS Configuration APIs

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!