DeviceControl Class
Documentation for DeviceControl class from MSN TV TVShell
ActiveX control.
Original DLL: DeviceControl.DLL (in NK.BIN XIP)
void Reboot();
Arguments: None
Type: void
Usage: Undocumented.
void PlaySound(
[in] BSTR __MIDL_0055,
[in, optional, defaultvalue(1)] int mode,
[in, optional, defaultvalue(100)] int volumePercent);
Arguments:
-
name
: Name of local sound to play. Sounds are loaded from thewindows
folder in the MSN TV's CompressFSweb
filesystem. -
mode
: Flag value that specifies how the sound is played. (ADD INFO ON FLAGS) -
volumePercent
: Likely is meant to set the volume the sound plays at. This parameter isn't used in the MSN TV 2 application code.
Returns: Nothing
Description: Plays a system sound from a given name
void StopPlayingSound();
Arguments: None
Returns: Nothing
Usage: Undocumented.
void SetClock(
[in] long hh,
[in] long mm,
[in] long ss,
[in] long mo,
[in] long dd,
[in] long yyyy);
Arguments:
-
hh
: Hour value in 24-hour format -
mm
: Minute value -
ss
: Seconds value -
mo
: Numerical value of the month from the Gregorian calendar -
dd
: Day value -
yyyy
: Year value
Returns: Nothing
Usage: Sets the time and date in UTC on the MSN TV 2 box. This is meant to be executed from an Anduril service script sent to the box when it is logging in, with the values set by the server.
[id(0x0000000a)]
void SetTimeZone(
[in] long standardOffset,
[in] BSTR standardName,
[in] long daylightOffset,
[in] BSTR daylightName);
Arguments:
-
standardOffset
: Integer. Standard time zone offset in minutes -
standardName
: String. Standard time zone name -
daylightOffset
: Integer. Daylight time zone offset in minutes -
daylightName
: String. Standard time zone name
Returns: Nothing
Usage: Sets the time zone on the MSN TV 2 box. This is meant to be executed from an Anduril service script sent to the box when logging in, with values determined from the user's preferences.
void PowerOff();
Arguments: None
Returns: Nothing
Usage: Undocumented.
void Clear();
Arguments: None
Returns: Nothing
Usage: Undocumented.
void Save();
Arguments: None
Returns: Nothing
Usage: Saves some settings (Message LED light) as a file on the box (\hd3\Shell\DeviceControl\Device.dat
). Undocumented.
void Restore();
Arguments: None
Returns: Nothing
Usage: Undocumented.
void SetStorageBase([in] BSTR BaseName);
Arguments:
-
baseName
: Unknown
Returns: Nothing
Usage: Undocumented.
TODO
TODO