UserHal Class Reference
A set of user side utility functions for acessing hardware related information.
Four of these functions are DEPRECATED and should NOT be used; some of these functions have replacements, but others do not; see the description of the individual functions.
The following functions are not deprecated, but are only used by Symbian OS as part of its internal implementation:
Member Functions Documentation
CalibrationPoints(TDigitizerCalibration &)
Gets the points on the display that the user should point to in order to calibrate the digitiser (i.e. XY) input device.
Parameters
TDigitizerCalibration & aCalibration | A TDigitizerCalibration object that, on return, contains the appropriate information. |
DriveInfo(TDes8 &)
IMPORT_C TInt | DriveInfo | ( | TDes8 & | anInfo | ) | [static] |
Parameters
TDes8 & anInfo | A package buffer (TPckgBuf) containing a TDriveInfoV1 structure. On return, this structure will contain the drive information. |
ExceptionId(TInt &)
IMPORT_C TInt | ExceptionId | ( | TInt & | anId | ) | [static] |
Gets the exception Id that describes the type of fault when the kernel last faulted.
The Id is the value contained in TArmExcInfo::iExcCode.
TArmExcInfo::iExcCode TArmExcInfo
Parameters
TInt & anId | An integer that, on return, contains the exception Id. |
ExceptionInfo(TExcInfo &)
Gets the available exception information that describes the last kernel fault.
TExcInfo
Parameters
TExcInfo & aInfo | A TExcInfo structure that, on return, contains the available exception information. |
FaultReason(TInt &)
IMPORT_C TInt | FaultReason | ( | TInt & | aReason | ) | [static] |
Gets the reason why the kernel last faulted.
Kern::Fault()
Parameters
TInt & aReason | An integer that, on return, contains the reason code describing why the kernel faulted. This is the fault number passed in a call to Kern::Fault(). |
MachineInfo(TDes8 &)
IMPORT_C TInt | MachineInfo | ( | TDes8 & | anInfo | ) | [static] |
Gets machine information.
Use HAL::Get() from the HAL library instead.
MemoryInfo(TDes8 &)
IMPORT_C TInt | MemoryInfo | ( | TDes8 & | anInfo | ) | [static] |
Gets memory information.
HAL::Get()Use HAL::Get() from the HAL library instead with attributes EMemoryRAM, EMemoryRAMFree or EMemoryROM.
PageSizeInBytes(TInt &)
IMPORT_C TInt | PageSizeInBytes | ( | TInt & | aSize | ) | [static] |
Gets the page size for this device.
RestoreXYInputCalibration(TDigitizerCalibrationType)
Restores the digitiser (i.e. XY) input device calibration data.
-
capability
- WriteDeviceData
RomInfo(TDes8 &)
Gets ROM configuration information.
No replacement.
SaveXYInputCalibration()
IMPORT_C TInt | SaveXYInputCalibration | ( | ) | [static] |
Saves the current digitiser (i.e. XY) input device calibration data.
SetXYInputCalibration(const TDigitizerCalibration &)
Sets the calibration data for the digitiser (i.e. XY) input device.
StartupReason(TMachineStartupType &)
Gets the startup reason.
HAL::Get()Use HAL::Get() from the HAL library instead with attributes ESystemStartupReason.
SwitchOff()
IMPORT_C TInt | SwitchOff | ( | ) | [static] |
TickPeriod(TTimeIntervalMicroSeconds32 &)
Gets the platform tick period.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.