1 // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\include\e32svr.h
33 enum TBlockType {EBlocked,EUnBlocked,ERelease};
36 A collection of static functions that are intended for internal use only,
38 @see UserSvr::AddEvent()
45 IMPORT_C static void CaptureEventHook(); /**< @internalAll */
46 IMPORT_C static void ReleaseEventHook(); /**< @internalAll */
47 IMPORT_C static void RequestEvent(TRawEventBuf &anEvent,TRequestStatus &aStatus); /**< @internalAll */
48 IMPORT_C static void RequestEventCancel(); /**< @internalAll */
49 IMPORT_C static TInt AddEvent(const TRawEvent& anEvent);
50 IMPORT_C static void ScreenInfo(TDes8& anInfo); /**< @internalAll */
51 IMPORT_C static TInt DllSetTls(TInt aHandle, TAny *aPtr); /**<@internalAll */
52 IMPORT_C static TInt DllSetTls(TInt aHandle, TInt aDllUid, TAny *aPtr); /**< @internalComponent */
53 IMPORT_C static TAny *DllTls(TInt aHandle); /**< @internalAll */
54 IMPORT_C static TAny *DllTls(TInt aHandle, TInt aDllUid); /**< @internalComponent */
55 IMPORT_C static void DllFreeTls(TInt aHandle); /**< @internalAll */
56 IMPORT_C static void DllFileName(TInt aHandle, TDes &aFileName); /**< @internalAll */
57 IMPORT_C static void FsRegisterThread(); /**< @internalAll */
58 IMPORT_C static void RegisterTrustedChunk(TInt aHandle);/**< @internalComponent */
59 IMPORT_C static void WsRegisterThread(); /**< @internalAll */
60 IMPORT_C static TBool TestBootSequence(); /**< @internalAll */
61 IMPORT_C static void WsRegisterSwitchOnScreenHandling(TBool aState); /**< @internalAll */
62 IMPORT_C static void WsSwitchOnScreen(); /**< @internalAll */
63 IMPORT_C static TInt ChangeLocale(const TDesC& aLocaleDllName); /**< @internalAll */
64 IMPORT_C static TInt ResetMachine(TMachineStartupType aType); /**< @internalAll */
65 IMPORT_C static void UnlockRamDrive(); /**< @internalAll */
66 IMPORT_C static void LockRamDrive(); /**< @internalAll */
67 IMPORT_C static TUint32 RomRootDirectoryAddress(); /**< @internalAll */
68 IMPORT_C static TInt ExecuteInSupervisorMode(TSupervisorFunction aFunction, TAny* aParameter); /**< @internalAll */
69 IMPORT_C static TUint32 RomHeaderAddress(); /**< @internalAll */
70 IMPORT_C static TUint32 DebugMask(); /**< @internalAll */ //Return the kernel debug mask 0
71 IMPORT_C static TUint32 DebugMask(TUint aIndex); /**<@internalAll */ // Return the kernel debug mask
72 IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2); /**<@internalAll */
73 IMPORT_C static TInt HalFunction(TInt aGroup, TInt aFunction, TAny* a1, TAny* a2, TInt aDeviceNumber); /**<@internalAll */
74 IMPORT_C static TInt HalGet(TInt,TAny*); /**<@internalAll */ // redundant - only here for BC
75 IMPORT_C static TInt HalSet(TInt,TAny*); /**<@internalAll */ // redundant - only here for BC
76 IMPORT_C static TInt SetMemoryThresholds(TInt aLowThreshold, TInt aGoodThreshold); /**<@internalAll */
77 IMPORT_C static TBool IpcV1Available(); /**<@internalAll */
78 IMPORT_C static TLinAddr ExceptionDescriptor(TLinAddr aCodeAddress); /**< @internalTechnology */
79 IMPORT_C static TInt LocalePropertiesSetDefaults(); /**< @internalTechnology */