typedef long TSigned; typedef long TColour; typedef unsigned short TChar; typedef unsigned short FUint16; typedef unsigned int FUint8; typedef TSigned TCoordinate;
class IUIStatusrow : public IUnknown { public: virtual int ShowTrayIcon(wchar_t icon,char show); virtual int BlinkTrayIcon(wchar_t icon,int mode); virtual int ShowTrayClock(int display,char show); };
class IUIGraphics:
Код:
class IUIGraphics : public IUnknown { public: virtual int GetForegroundColor(UIThemeColor_t colorType,TColour* pColor); virtual int GetBackgroundColor(UIThemeColor_t colorType,TColour* pColor); virtual int GetStringWidth(IFont* pIFont,TChar*pString,TUnsigned strLen,FUint16* pStrWidth); virtual int DrawString(IUnknown * pGC,IFont* pIFont,TColour color,TChar* pString,TUnsigned strLen,UITextAlignment_t alignment,TCoordinate x,TCoordinate y,TUnsigned width,TUnsigned height); virtual int DrawIUIText(...); virtual int DrawBackground(IUnknown * pGC,UIBackgroundManagerImage_t image,TColour color,TCoordinate srcX,TCoordinate srcY,TCoordinate dstX,TCoordinate dstY,TUnsigned width,TUnsigned height); virtual int DrawFrame(IUnknown * pGC,TCoordinate x,TCoordinate y,TUnsigned width,TUnsigned height,TColour foreground,TColour background); virtual int FlushCaches(void); virtual int MatchFont(UIGraphicsFontFace_t face,UIGraphicsFontStyle_t style,UIGraphicsFontSize_t size,IFont** ppIFont); virtual int GetBackgroundImageSize(UIBackgroundManagerImage_t image,TUnsigned* pWidth,TUnsigned* pHeight); };
class IUIGraphicManager:
Код:
class IUIGraphicManager : public IUnknown { public: virtual int CreateGraphics(void** pIUIGraphics); virtual int CreateStatusrow(void** pIUIStatusrow); };
class IUIText: public IUnknown { public: virtual int unk_0(); //0x10 virtual int get_text(wchar_t *ws, int max_len, int *len); virtual int unk_1(); virtual int get_len(int *len); };
class IUITextFactory: public IUnknown { public: virtual int unk_0(); virtual int CreateFromAscii(); virtual int CreateFromRaw(wchar_t *ws, int len, IUIText **ppIUITextPointer); virtual int CreateFromTextId(); virtual int unk_1(); virtual int unk_2(); virtual int unk_3(); virtual int ConcatenateIUITexts(); };
class IUIClipboard: public IUnknown { public: virtual int GetBuffer(void **buffer); virtual int SetIUIText(IUIText *pIUIText); virtual int GetIUIText(IUIText **ppIUITextPointer); virtual int Clear(); virtual int isEmpty(); };
class IUIClipboardManager: public IUnknown { public: virtual int GetBuffer(void **buffer); virtual int GetIUIClipboard(IUIClipboard **ppIUIClipboardPointer); };
class IAlarm: public IUnknown { public: virtual void* unk_0x10(); virtual void* unk_0x14(); virtual int SetTime(TIME * time, u16 number); // 0x18 virtual int GetTime(TIME * time, u16 number); // 0x1C virtual void* unk_0x20(); // 0x20 virtual int SetState(char state, u16 number); // 0x24 virtual int GetState(char * state, u16 number); // 0x28 virtual void* unk_0x2C(); // 0x2C virtual int SetSignalSound(wchar_t * pathname, u16 pathlen, AlarmSignalMode, u16 number); // 0x30 // maxlen = 0xFF virtual int GetSignalSound(wchar_t * pathname, u16 * pathlen, AlarmSignalMode*, u16 number); // 0x34 virtual int SetImage(wchar_t * pathname, u16 pathlen, u16 number); // 0x38 // maxlen = 0xFF virtual int GetImage(wchar_t * pathname, u16 * pathlen, u16 number); // 0x3C virtual int SetName(wchar_t * name, u16 namelen, u16 number); // 0x40 // maxlen = 20 virtual int GetName(wchar_t * name, u16 * namelen, u16 number); // 0x44 virtual int SetSilentMode(AlarmSilentMode*, u16 number); // 0x48 virtual int SetSnoozeDuration(AlarmSnoozeDuration*, u16 number); // 0x4C virtual int GetSnoozeDuration(AlarmSnoozeDuration*, u16 number); // 0x50 virtual int SetVolume(AlarmVolume*, u16 number); // 0x54 virtual int GetVolume(AlarmVolume*, u16 number); // 0x58 virtual int GetSilentMode(AlarmSilentMode*, u16 number); // 0x5C virtual int SetTimeState(char * state, u16 number); // 0x60 virtual int GetTimeState(char * state, u16 number); // 0x64 };
class IAlarm2: public IUnknown { public: virtual int SetRecurrent(AlarmRecurrentState, u16 number); virtual int GetRecurrent(AlarmRecurrentState*, u16 number); };
class IAlarm_Manager: public IUnknown { public: virtual int CreateIAlarm(IAlarm** ppIAlarm); virtual int CreateIAlarm2(IAlarm2** ppIAlarm2); virtual void* unk_0x18(void**); };
Sony Xperia XZ3 Green Sony Xperia Z3 Compact Orange W995i SW-R1GA026 :(
class IFlashLightControl: public IUnknown // C902 AS 11DD127C { public: virtual int SetState( int state ); // 0 = off, 1 = on ( 0x63, 0x4, 0x38 ) virtual int unk_14( int unk ); };
class IFlashLightDeviceManager: public IUnknown { public: virtual int CreateFlashLightControl( IFlashLightControl** pFlashLightControl ); };
const unsigned short AUDIOCONTROL_DEBUGMENU_STRING_MAXLENGTH = 79; typedef TChar TAudioControl_DebugMenuString[AUDIOCONTROL_DEBUGMENU_STRING_MAXLENGTH+1];
typedef enum { AUDIOCONTROL_VOLUMETYPE_CURRENT, /**< The current volumetype */ AUDIOCONTROL_VOLUMETYPE_CALLVOLUME, /**< The call volume */ AUDIOCONTROL_VOLUMETYPE_RINGVOLUME, /**< The ring signal volume */ AUDIOCONTROL_VOLUMETYPE_MEDIAVOLUME, /**< The media volume */ AUDIOCONTROL_VOLUMETYPE_INPUTVOLUME /**< FOR AUDIOCONTROL INTERNAL USE ONLY */ } TAudioControl_VolumeType;
typedef enum { AUDIOCONTROL_VIBRATORSTATE_OFF, /**< The vibrator is always off */ AUDIOCONTROL_VIBRATORSTATE_ON, /**< The vibrator is used when appropriate */ AUDIOCONTROL_VIBRATORSTATE_ON_IF_SILENT /**< The vibrator is used when appropriate, if silentmode is on */ } TAudioControl_VibratorState;
typedef enum { AUDIOCONTROL_TTYMODE_OFF, /**< TTY mode set to off*/ AUDIOCONTROL_TTYMODE_STANDARD, /**< TTY mode set to standard*/ AUDIOCONTROL_TTYMODE_HCO, /**< TTY mode set to hearing carry over*/ AUDIOCONTROL_TTYMODE_VCO /**< TTY mode set to voice carry over*/ } TAudioControl_TTYMode;
typedef enum { AUDIOCONTROL_CALLSTATE_IDLE, /**< Should be used when no call is active */ AUDIOCONTROL_CALLSTATE_ANSWERING,/**< Should be used before ICall_Answer to indicate that a call is about to be answered*/ AUDIOCONTROL_CALLSTATE_ALERTING, /**< Obsolete, replaced with AUDIOCONTROL_CALLSTATE_ANSWERING*/ AUDIOCONTROL_CALLSTATE_SETUP, /**< Should be used before initiating an outgoing call*/ AUDIOCONTROL_CALLSTATE_ONGOING, /**< Should be used when a call is active*/ AUDIOCONTROL_CALLSTATE_HOLDING /**< Should be used when all calls are on hold*/ } TAudioControl_CallState;
class IAudioControl: public IUnknown { public: virtual int unk_0x10(); virtual int unk_0x14(); virtual int unk_0x18(); virtual int unk_0x1C(); virtual int unk_0x20(); virtual int unk_0x24(); virtual int unk_0x28(); virtual int unk_0x2C(); virtual int unk_0x30(); virtual int unk_0x34(); virtual int unk_0x38(); virtual int unk_0x3C(); virtual int unk_0x40(); virtual int unk_0x44(); virtual int unk_0x48(); virtual int unk_0x4C(); virtual int unk_0x50(); virtual int unk_0x54(); virtual int unk_0x58(); virtual int unk_0x5C(); virtual int unk_0x60(); virtual int unk_0x64(); virtual int unk_0x68(); virtual int unk_0x6C(); virtual int unk_0x70(); virtual int unk_0x74(); virtual int unk_0x78(); virtual int unk_0x7C(); virtual int unk_0x80(); virtual int unk_0x84(); virtual int unk_0x88(); virtual int unk_0x8C(); virtual int unk_0x90(); virtual int IsAudioPlaying(TBool* pAudioPlaying, TAudioControl_VolumeType* pVolumeType); virtual int IsVibratorRunning(TBool* pVibratorRunning); virtual int unk_0x9C(); virtual int unk_0xA0(); virtual int unk_0xA4(); virtual int unk_0xA8(); virtual int unk_0xAC(); virtual int unk_0xB0(); virtual int unk_0xB4(); virtual int unk_0xB8(); virtual int Volume_Set(TAudioControl_VolumeType volumeType, TAudioControl_Volume pVolume); virtual int Volume_Get(TAudioControl_VolumeType volumeType, TAudioControl_Volume* pVolume); virtual int unk_0xC4(); virtual int unk_0xC8(); virtual int unk_0xCC(); virtual int unk_0xD0(); virtual int IncreaseVolume(TAudioControl_VolumeType volumeType, TAudioControl_Volume* pNewVolume); virtual int DecreaseVolume(TAudioControl_VolumeType volumeType, TAudioControl_Volume* pNewVolume); virtual int unk_0xDC(); virtual int unk_0xE0(); virtual int unk_0xE4(); virtual int unk_0xE8(); virtual int unk_0xEC(); virtual int unk_0xF0(); virtual int unk_0xF4(); virtual int unk_0xF8(); virtual int unk_0xFC(); virtual int unk_0x100(); virtual int unk_0x104(); virtual int unk_0x108(); virtual int unk_0x10C(); virtual int unk_0x110(); virtual int unk_0x114(); virtual int unk_0x118(); virtual int unk_0x11C(); virtual int unk_0x120(); virtual int unk_0x124(); virtual int unk_0x128(); virtual int unk_0x12C(); virtual int unk_0x130(); virtual int unk_0x134(); virtual int unk_0x138(); virtual int unk_0x13C(); virtual int unk_0x140(); virtual int unk_0x144(); virtual int unk_0x148(); virtual int unk_0x14C(); virtual int unk_0x150(); virtual int unk_0x154(); virtual int DebugMenu_GetString(TAudioControl_DebugMenuString* pBuffer); virtual int unk_0x15C(); virtual int unk_0x160(); virtual int unk_0x164(); virtual int unk_0x168(); virtual int unk_0x16C(); virtual int SilentMode_Set(TBool silentModeEnabled); virtual int SilentMode_Get(TBool* silentModeEnabled); virtual int TTYMode_Set(TAudioControl_TTYMode TTYMode); virtual int TTYMode_Get(TAudioControl_TTYMode* pTTYMode); virtual int HACMode_Set(TAudioControl_HACMode HACMode); virtual int HACMode_Get(TAudioControl_HACMode* pHACMode); virtual int VibratorState_Set(TAudioControl_VibratorState vibratorState); virtual int VibratorState_Get(TAudioControl_VibratorState* pVibratorState); virtual int Vibrator_Start(TAudioControl_TimeInMilliSeconds period, TAudioControl_TimeInMilliSeconds dutyCycle, TAudioControl_TimeInMilliSeconds duration); virtual int Vibrator_Stop(void); virtual int Callstate_Set(TAudioControl_CallType callType, TAudioControl_CallState callState); virtual int unk_0x19C(); virtual int Camera_FollowSilentMode_Set(TBool followSilentMode); virtual int Camera_FollowSilentMode_Get(TBool* pFollowSilentMode); virtual int unk_0x1A8(); virtual int unk_0x1AC(); virtual int unk_0x1B0(); virtual int unk_0x1B4(); virtual int unk_0x1B8(); virtual int unk_0x1BC(); };
class IAudioDevice: public IUnknown { public: virtual int AudioControl(IAudioControl** ppIAudioControl); };
class IIlluminationControl: public IUnknown // C902 AS 0x11DD12C8 { public: virtual int Illumination_LedID_SetLevel( int LedID, int level ); virtual int Illumination_LedID_Off( int LedID ); virtual int Illumination_LedID_SetLevel_Gradually( int LedID, int fade, int level ); };
updated virtual int unk_18( ... ); //Illumination_LedID_Fade( ... ); ??? virtual int Illumination_LedID_SetLevel_Gradually( int LedID, int fade, int level );
[ Редактировано diezil в 22.5.12 19:51 ]
C902 R3EG004 AS Извините за мой русский (Google Translate )
Вы не можете начинать темы. Вы не можете редактировать свои сообщения. Вы не можете создавать опросы. Вы не можете вкладывать файлы в сообщения. Вы не можете отвечать на сообщения. Вы не можете удалять свои сообщения. Вы не можете голосовать.