UserSvr Class Reference

class UserSvr

A collection of static functions that are intended for internal use only, except for AddEvent. UserSvr::AddEvent()

Member Functions Documentation

AddEvent(const TRawEvent &)

IMPORT_C TInt AddEvent ( const TRawEvent & anEvent ) [static]

Add an event to the queue.

capability
SwEvent
capability
PowerMgmt for ESwitchOff, ERestartSystem, ECaseOpen and ECaseClose

Parameters

const TRawEvent & anEvent The raw hardware event to be added to the event queue.

CaptureEventHook()

IMPORT_C void CaptureEventHook ( ) [static]

ChangeLocale(const TDesC &)

IMPORT_C TInt ChangeLocale ( const TDesC & aLocaleDllName ) [static]

Parameters

const TDesC & aLocaleDllName

DebugMask()

IMPORT_C TUint32 DebugMask ( ) [static]

Return the kernel debug mask at index 0

DebugMask(TUint)

IMPORT_C TUint32 DebugMask ( TUint aIndex ) [static]

Return the kernel debug mask at the given index position

Parameters

TUint aIndex An index of which 32 bit mask word is to be accessed

DllFileName(TInt, TDes &)

IMPORT_C void DllFileName ( TInt aHandle,
TDes & aFileName
) [static]

Parameters

TInt aHandle
TDes & aFileName

DllFreeTls(TInt)

IMPORT_C void DllFreeTls ( TInt aHandle ) [static]

Parameters

TInt aHandle

DllSetTls(TInt, TAny *)

IMPORT_C TInt DllSetTls ( TInt aHandle,
TAny * aPtr
) [static]

Parameters

TInt aHandle
TAny * aPtr

DllSetTls(TInt, TInt, TAny *)

IMPORT_C TInt DllSetTls ( TInt aHandle,
TInt aDllUid,
TAny * aPtr
) [static]

Parameters

TInt aHandle
TInt aDllUid
TAny * aPtr

DllTls(TInt)

IMPORT_C TAny * DllTls ( TInt aHandle ) [static]

Parameters

TInt aHandle

DllTls(TInt, TInt)

IMPORT_C TAny * DllTls ( TInt aHandle,
TInt aDllUid
) [static]

Parameters

TInt aHandle
TInt aDllUid

ExceptionDescriptor(TLinAddr)

IMPORT_C TLinAddr ExceptionDescriptor ( TLinAddr aCodeAddress ) [static]

Gets the linear address of the exception descriptor for the code module in which a specified code address resides.

Parameters

TLinAddr aCodeAddress The code address in question.

ExecuteInSupervisorMode(TSupervisorFunction, TAny *)

IMPORT_C TInt ExecuteInSupervisorMode ( TSupervisorFunction aFunction,
TAny * aParameter
) [static]

Parameters

TSupervisorFunction aFunction
TAny * aParameter

FsRegisterThread()

IMPORT_C void FsRegisterThread ( ) [static]

HalFunction(TInt, TInt, TAny *, TAny *)

IMPORT_C TInt HalFunction ( TInt aGroup,
TInt aFunction,
TAny * a1,
TAny * a2
) [static]

Parameters

TInt aGroup
TInt aFunction
TAny * a1
TAny * a2

HalFunction(TInt, TInt, TAny *, TAny *, TInt)

IMPORT_C TInt HalFunction ( TInt aGroup,
TInt aFunction,
TAny * a1,
TAny * a2,
TInt aDeviceNumber
) [static]

Parameters

TInt aGroup
TInt aFunction
TAny * a1
TAny * a2
TInt aDeviceNumber

HalGet(TInt, TAny *)

IMPORT_C TInt HalGet ( TInt ,
TAny *
) [static]

Parameters

TInt
TAny *

HalSet(TInt, TAny *)

IMPORT_C TInt HalSet ( TInt ,
TAny *
) [static]

Parameters

TInt
TAny *

IpcV1Available()

IMPORT_C TBool IpcV1Available ( ) [static]

LocalePropertiesSetDefaults()

IMPORT_C TInt LocalePropertiesSetDefaults ( ) [static]

LockRamDrive()

IMPORT_C void LockRamDrive ( ) [static]

RegisterTrustedChunk(TInt)

IMPORT_C void RegisterTrustedChunk ( TInt aHandle ) [static]

Registers file server's chunk intended for DMA transfer.

Parameters

TInt aHandle

ReleaseEventHook()

IMPORT_C void ReleaseEventHook ( ) [static]

RequestEvent(TRawEventBuf &, TRequestStatus &)

IMPORT_C void RequestEvent ( TRawEventBuf & anEvent,
TRequestStatus & aStatus
) [static]

Parameters

TRawEventBuf & anEvent
TRequestStatus & aStatus

RequestEventCancel()

IMPORT_C void RequestEventCancel ( ) [static]

ResetMachine(TMachineStartupType)

IMPORT_C TInt ResetMachine ( TMachineStartupType aType ) [static]

Parameters

TMachineStartupType aType

RomHeaderAddress()

IMPORT_C TUint32 RomHeaderAddress ( ) [static]

RomRootDirectoryAddress()

IMPORT_C TUint32 RomRootDirectoryAddress ( ) [static]

ScreenInfo(TDes8 &)

IMPORT_C void ScreenInfo ( TDes8 & anInfo ) [static]

Parameters

TDes8 & anInfo

SetMemoryThresholds(TInt, TInt)

IMPORT_C TInt SetMemoryThresholds ( TInt aLowThreshold,
TInt aGoodThreshold
) [static]
capability
WriteDeviceData

Parameters

TInt aLowThreshold
TInt aGoodThreshold

TestBootSequence()

IMPORT_C TBool TestBootSequence ( ) [static]

UnlockRamDrive()

IMPORT_C void UnlockRamDrive ( ) [static]

WsRegisterSwitchOnScreenHandling(TBool)

IMPORT_C void WsRegisterSwitchOnScreenHandling ( TBool aState ) [static]

Register whether the W/S takes care of turning the screen on

Parameters

TBool aState

WsRegisterThread()

IMPORT_C void WsRegisterThread ( ) [static]

WsSwitchOnScreen()

IMPORT_C void WsSwitchOnScreen ( ) [static]