[Hack] ByPassing compression for Wallpapper in Sense 2.5 - Windows Mobile Software Development

Hello my friend,
As you know, when you select a wallpaper for Sense, it compress it and resize it to JPEG in a file named HomeBackground.img.
If you open this HomeBackground.img in a imaging software like Gimp or Photoshop, you can see that the quality is good on your PC but not when you set it as walpapper.
So i think that manila recompress it on the fly before display it.
I have disassembled the Manila.exe and the dll with ida pro in order to find any compression function but....no found !
Second step, i have download the manila kitchen and decompilled all the manila files. With a multi text file searcher, i have searched the occurence "HomeBackground.img" and i have founbd this file :
090a4ee8_manila
Here is the code of the file decompilled
Code:
-- Decompiled using luadec 3.2.2beta -- Fri Jun 10 23:16:41 2011
-- File name: 090a4ee8_manila
require("asyncimageloader")
require("shell_svc")
CachedImagePath = "\\Windows\\HomeBackground.img"
InterpolateOpacity = function(l_1_0, l_1_1)
l_1_1.Opacity:Interpolate(l_1_0, 20, 0, Interpolate_EaseOutQuad)
end
BackgroundWidth = 480
BackgroundHeight = 696
if _application.Store:GetStringValue(Lifetime_Permanent, "DevResolution") == "HVGA" then
BackgroundWidth = 320
BackgroundHeight = 410
end
LoadDefaultBackground = function()
trace("LoadDefaultBackground()")
InterpolateOpacity(0, HomeBackground)
if HomeTitleBar ~= nil then
HomeTitleBar.Opacity.value = 0
_application.Navigation.TabTrayOpacity = 100
end
end
BackgroundImageLoaded = function(l_3_0, l_3_1)
trace("BackgroundImageLoaded")
if l_3_0 then
if l_3_1 == 1 then
HomeBackground.TextureCoords.width = l_3_0.TextureCoords.width
HomeBackground.TextureCoords.height = l_3_0.TextureCoords.height
local l_3_2 = l_3_0.TextureCoords.width * l_3_0.Image.Width
local l_3_3 = l_3_0.TextureCoords.height * l_3_0.Image.Height
_StoreImageWidth = l_3_2
_StoreImageHeight = l_3_3
local l_3_4 = l_3_2 / BackgroundWidth
local l_3_5 = l_3_3 / BackgroundHeight
if l_3_4 < l_3_5 then
HomeBackground.Size.height = l_3_3 / l_3_2 * BackgroundWidth
HomeBackground.Size.width = BackgroundWidth
else
HomeBackground.Size.width = l_3_2 / l_3_3 * BackgroundHeight
HomeBackground.Size.height = BackgroundHeight
end
HomeBackground.Position.x = (BackgroundWidth - HomeBackground.Size.width) / 2
HomeBackground.Position.y = -(BackgroundHeight - HomeBackground.Size.height) / 2
HomeBackground:SetTexture(l_3_0.Image)
InterpolateOpacity(100, HomeBackground)
if HomeTitleBar ~= nil then
local l_3_6 = _application.Store:GetIntValue(Lifetime_Application, "ShowCacheHomePage")
if l_3_6 == 1 then
HomeTitleBar.Opacity.value = 60
_application.Navigation.TabTrayOpacity = 60
end
end
else
LoadDefaultBackground()
end
collectgarbage("collect")
BackgroundAsyncImageLoader = nil
elseif _StoreImageWidth and _StoreImageHeight then
local l_3_7 = _StoreImageWidth / BackgroundWidth
local l_3_8 = _StoreImageHeight / BackgroundHeight
if l_3_7 < l_3_8 then
HomeBackground.Size.height = _StoreImageHeight / _StoreImageWidth * BackgroundWidth
HomeBackground.Size.width = BackgroundWidth
else
HomeBackground.Size.width = _StoreImageWidth / _StoreImageHeight * BackgroundHeight
HomeBackground.Size.height = BackgroundHeight
end
HomeBackground.Position.x = (BackgroundWidth - HomeBackground.Size.width) / 2
HomeBackground.Position.y = -(BackgroundHeight - HomeBackground.Size.height) / 2
end
_application.Store:SetIntValue(Lifetime_Application, "Home.BackgroundMaskFadeOut", 0)
if HomeBackgroundMask.Opacity.value ~= 0 then
HomeBackgroundMask.Opacity:Interpolate(0, 20, 0, Interpolate_Linear)
end
end
BeginLoadBackgroundImage = function(l_4_0)
trace("BeginLoadBackgroundImage")
if Shell_HaveDRMRightsToFile(machineStatus.HomeBackgroundPath.Value, false) then
BackgroundAsyncImageLoader = AsyncImageLoader()
BackgroundAsyncImageLoader.Priority = TaskPriority_Normal
BackgroundAsyncImageLoader.OnComplete:connect(BackgroundImageLoaded)
BackgroundAsyncImageLoader:BeginLoadFile(l_4_0, false, true)
else
machineStatus.HomeBackgroundPath.Value = ""
machineStatus.CachedBackgroundPath.Value = ""
LoadDefaultBackground()
end
end
BackgroundImageResized = function(l_5_0, l_5_1)
trace("BackgroundImageResized")
trace("[homebackground] : HomePath = " .. tostring(machineStatus.HomeBackgroundPath.Value))
trace("[homebackground] : CachedPath = " .. tostring(machineStatus.CachedBackgroundPath.Value))
if l_5_1 == 1 and machineStatus.HomeBackgroundPath.Value ~= "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
BeginLoadBackgroundImage(CachedImagePath)
else
trace("result = 0")
LoadDefaultBackground()
BackgroundAsyncImageLoader = nil
end
AnimationDelayHandler()
trace("BackgroundImageResized end")
trace("[homebackground] : HomePath = " .. tostring(machineStatus.HomeBackgroundPath.Value))
trace("[homebackground] : CachedPath = " .. tostring(machineStatus.CachedBackgroundPath.Value))
collectgarbage("collect")
end
machineStatus_OnCustomBackgroundUpdate = function()
trace("machineStatus_OnCustomBackgroundUpdate")
if _config_os == "windowsmobile" then
local l_6_0 = machineStatus.HomeBackgroundPath.Value
local l_6_1 = machineStatus.CachedBackgroundPath.Value
trace("[homebackground] : HomePath = " .. tostring(l_6_0))
trace("[homebackground] : CachedPath = " .. tostring(l_6_1))
if l_6_0 ~= l_6_1 then
if BackgroundAsyncImageFactoryLoader ~= nil and BackgroundAsyncImageFactoryLoader:IsRunning() then
BackgroundAsyncImageFactoryLoader.OnComplete:disconnect(BackgroundImageResized)
BackgroundAsyncImageFactoryLoader:Cancel()
BackgroundAsyncImageFactoryLoader = nil
collectgarbage("collect")
end
if BackgroundAsyncImageLoader ~= nil and BackgroundAsyncImageLoader:IsRunning() then
BackgroundAsyncImageLoader:Cancel()
BackgroundAsyncImageLoader = nil
collectgarbage("collect")
end
if l_6_0 == "" then
machineStatus.CachedBackgroundPath.Value = machineStatus.HomeBackgroundPath.Value
LoadDefaultBackground()
else
BackgroundAsyncImageFactoryLoader = AsyncImageFactoryLoader()
BackgroundAsyncImageFactoryLoader.Priority = TaskPriority_BelowNormal
BackgroundAsyncImageFactoryLoader.Quality = 100
BackgroundAsyncImageFactoryLoader.OnComplete:connect(BackgroundImageResized)
BackgroundAsyncImageFactoryLoader:ResizeImage(machineStatus.HomeBackgroundPath.Value, CachedImagePath, EncoderType_JPEG, 512, 512, true, false)
end
elseif l_6_1 ~= "" then
if BackgroundAsyncImageFactoryLoader ~= nil and BackgroundAsyncImageFactoryLoader:IsRunning() then
BackgroundAsyncImageFactoryLoader.OnComplete:disconnect(BackgroundImageResized)
BackgroundAsyncImageFactoryLoader:Cancel()
BackgroundAsyncImageFactoryLoader = nil
bRefreshBackground = true
collectgarbage("collect")
end
if BackgroundAsyncImageLoader ~= nil and BackgroundAsyncImageLoader:IsRunning() then
BackgroundAsyncImageLoader:Cancel()
BackgroundAsyncImageLoader = nil
bRefreshBackground = true
collectgarbage("collect")
end
if bRefreshBackground then
trace("[homebackground] : Change wallpaper too quickly and home and cache registry are the same, but loader is running, so load home background again.")
machineStatus.CachedBackgroundPath.Value = ""
machineStatus_OnCustomBackgroundUpdate()
else
BeginLoadBackgroundImage(CachedImagePath)
end
else
LoadDefaultBackground()
end
else
LoadDefaultBackground()
end
end
AnimationDelayHandler = function()
local l_7_0 = _application.Store:GetIntValue(Lifetime_Permanent, "Home.WallpaperMode")
local l_7_1 = _application.Store:GetIntValue(Lifetime_Application, "DelayAnimationEffect")
if l_7_0 == 1 and l_7_1 == 1 then
if _AnimationWallpaper then
_AnimationWallpaper:Show()
end
_application.Store:SetIntValue(Lifetime_Application, "DelayAnimationEffect", 0)
end
end
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
require("RotationTemplate")
homebackground_ScreenRotation = class(RotationTemplate)
homebackground_ScreenRotation.__init = function(l_8_0)
RotationTemplate.__init(l_8_0)
trace("+++++++[homebackground] : __init")
end
homebackground_ScreenRotation.OnScreenRotation = function(l_9_0)
trace("+++++++[homebackground] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
BackgroundWidth = 480
BackgroundHeight = 696
elseif _application.Orientation == ScreenOrientation_Landscape then
BackgroundWidth = 805
BackgroundHeight = 376
end
BackgroundImageLoaded(nil, nil)
end
end
if _config_os == "windowsmobile" then
if _application.Store:GetStringValue(Lifetime_Permanent, "EnableLandscape") == "true" then
_homebackground_ScreenRotation = homebackground_ScreenRotation()
end
machineStatus.HomeBackgroundPath.OnValueChanged:connect(machineStatus_OnCustomBackgroundUpdate)
machineStatus_OnCustomBackgroundUpdate()
end
At the line 141 tou can see this :
Code:
BackgroundAsyncImageFactoryLoader:ResizeImage(machineStatus.HomeBackgroundPath.Value, CachedImagePath, EncoderType_JPEG, [B]512[/B], [B]512[/B], true, false)
* If you delete this line, the wallpaper don't display !
* The 512,512 are the width and height values, so i think it's better to replace them by 480 , 696 ( the real width and height)--> Warning, you need to use a walpapper with a heigh and width of 480x696
With this, the image will be better.
BUT it's not finish !
When you modify this file and recompile it, you can see thaht you walpapper is not cropped but, the quality is always not good.
Look at this :
And with a zoom :
--> So you can see that there is even a compression thaht destruct the quality, but where is it ?
I would like to find a way of bypassing a function of recompression but i don't found it. I would like to investigate on this project with some people, so if anyone have some informations about this, it will be very great !
So, you can contact me on this thread or by PM !
If you want to help me, it's very simple :
1) Download the manila kitchen here : http://forum.xda-developers.com/showthread.php?t=528548
2) Copy all your *manila* files on the "source" folder.
3) Read the .doc or the .pdf document that explain how decompile this file ( it's very very easy)
4) Investigate about improving walpapper quality
I know that the truth is near, but i need some help !
Thanks a lot for all people that could help me to create this hack.
Best regards,
Nixeus

Update post 1

Hi Nixeus,
this all is done once before here on xda. But you have to know it, otherwise you will not find it.
Link 1 - HDwall 0.29 original thread -> maranell0
Link 2 - HDwall for VGA -> mwalt2
Link 3 - background for all tabs (bg4all) -> cookiemonster our good old and missing friend
Hope that helps you out...

Hello and thanks for your answer.
I don't agree because HDWALL use a software in order to create a png in a manila file, it's note the same method....
Instead of displaying the homebackground.img on the home, you need to choose the png in hdwall, and after hdwall insert this png in a manila file, it's note the same method and it don't function good on the latest version of manila.
That's why we need to create a good hack.

Nixeus said:
Hello and thanks for your answer.
I don't agree because HDWALL use a software in order to create a png in a manila file, it's note the same method....
Instead of displaying the homebackground.img on the home, you need to choose the png in hdwall, and after hdwall insert this png in a manila file, it's note the same method and it don't function good on the latest version of manila.
That's why we need to create a good hack.
Click to expand...
Click to collapse
You are right, it is not the same way. It was only an idea, because on my latest ASIA Rom V2.5 WWE Full from Laurentius26 the HDwall system is working perfect without any issue. Also the wallpaper changing with the cab files and the change tool from HD wall is working. We had add this function in CHT, but in the mean time i am working on different roms, so i don't used CHT the last 4 weeks. Badly but true . Otherwise we have to search further in that case. I will read again you 1st posting...

Thanks for you help
Maybe ChainFire or CookieMonster could help us !

Is the wallpaper quality worse with the resize mod or the same?

sharkie405 said:
Is the wallpaper quality worse with the resize mod or the same?
Click to expand...
Click to collapse
Yes I would like to know too?

Related

KernelIoControl 0x010125E0 = HAL Function 0x978 (2424)

Does anybody know the interpretation of KernelIoControl with dwIoControlCode = 0x010125E0? The breakdown of the Control Code is:
DeviceType = 0x0101 = FILE_DEVICE_HAL
Access = 0 = ANY_ACCESS
Function = 0x978 = 2424 dec = ?
Method = 0 = BUFFERED
So what is function 0x978 (2424)?
I searched through the WinCE Platform Builder 5.00 files and did not see any definition of 0x978 nor 2424.
thx,
((&->

[HOW TO] Create a Windows 6.5 Theme, by ansar

Dear forum members,
This is a simple way to create a 6.5 theme:
1. Using your 6.1 MyOwn.tsk file, for me Mobile_Vista.tsk and
2. Creating your MyOwn_theme.cab with the following cab structure, using:
2.1 Your favorite stwater_240_320.jpg and stwater_320_240.jpg icons.
2.2 Your favorite bar icons shown as MyOwn_****.png where MyOwn can be your alias or name.
3. Install your theme as follows:
3.1 First install your 6.1 MyOwn.tsk as usual
3.2 Install your MyOwn.cab with your favorite file exlorer and
3.3 Now power off your device (not reset) and then power on.
If you know how to convert it to MyOwn_theme.provxml or MyOwn_theme.xml, then this is another way too.
Till next version, enjoy!!
Regards, ansar.
**************************
Theme cab structure:
**************************
[Version]
Signature = "$Chicago$"
CESignature = "$Windows CE$"
Provider = "Microsoft"
[CEStrings]
Appname = "MyOwn_theme" ; (replace with your favorite theme name)
InstallDir = "%CE2%" ; (\Windows)
[CEDevice]
ProcessorType = 2577
VersionMin = 3.0
VersionMax = 100.0
[SourceDisksNames]
1 = ,"Dir1",,.\Windows
[SourceDisksFiles]
"stwater_240_320.jpg" = 1
"stwater_320_240.jpg" = 1
[DefaultInstall]
AddReg = ClesRegistre
CopyFiles = CopierVersDir00
[CopierVersDir00] ; (%CE2% : \Windows)
"stwater_240_320.jpg"
"stwater_320_240.jpg"
[DestinationDirs]
CopierVersDir00 = 0, %InstallDir%
[Strings]
reg_path00 = Software\Microsoft\Color\MultiColorTheme
reg_path01 = Software\Microsoft\Today\SoftKeyBar
reg_path02 = Software\Microsoft\Today\Toolbar
reg_path03 = Software\Microsoft\Today\TaskBar
reg_path04 = Software\Microsoft\Today\ScrollBar
reg_path05 = Software\Microsoft\Today\Bubble
reg_path06 = Software\Microsoft\Today\Toast
reg_path07 = Software\Microsoft\Today\MessageBox
reg_path08 = Software\Microsoft\Today\Menu
reg_path09 = Software\Microsoft\Today\ListView
reg_path10 = Software\Microsoft\Today\TabView
reg_path11 = Software\Microsoft\Today\UpDownControl
reg_path12 = Software\Microsoft\Today\BubbleTile
reg_path13 = Software\Microsoft\Today\Magnifier
reg_path14 = Software\Microsoft\Today\PropertySheet
reg_path15 = Software\Microsoft\Today\CutCopyPasteControl
reg_path16 = Software\Microsoft\Today\PushButton
reg_path17 = Software\Microsoft\Today\CheckBox
reg_path18 = Software\Microsoft\Today\RadioButton
reg_path19 = Software\Microsoft\Today\Combobox
reg_path20 = Software\Microsoft\Today
reg_path21 = Software\Microsoft\Color
[ClesRegistre]
HKLM,%reg_path00%,BaseColor1,0x00010001,7676696 ; this and the following five are the classic blue colors
HKLM,%reg_path00%,BaseColor2,0x00010001,16777215
HKLM,%reg_path00%,BaseColor3,0x00010001,15687213
HKLM,%reg_path00%,BaseColor4,0x00010001,16627387
HKLM,%reg_path12%,ThemeColors,0x00000001,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
HKLM,%reg_path12%,ThemeValues,0x00000001,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,2D,5E,CF,00,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
HKCU,%reg_path01%,SoftKeyBarThemeImage,0x00000000,\Windows\MyOwn_softkeybar.png
HKCU,%reg_path01%,SoftKeyBarThemeImageTopMargin,0x00010001,6
HKCU,%reg_path01%,SoftKeyBarThemeImageBottomMargin,0x00010001,6
HKCU,%reg_path01%,SoftKeyBarThemeImageLeftMargin,0x00010001,2
HKCU,%reg_path01%,SoftKeyBarThemeImageRightMargin,0x00010001,2
HKCU,%reg_path01%,SoftKeyBarThemeImageTiled,0x00010001,0
HKCU,%reg_path01%,SoftKeyBarThemeHighlight,0x00000000,\Windows\black_softkeyHighlight.png
HKCU,%reg_path01%,SoftKeyBarThemeHighlightTopMargin,0x00010001,12
HKCU,%reg_path01%,SoftKeyBarThemeHighlightBottomMargin,0x00010001,12
HKCU,%reg_path01%,SoftKeyBarThemeHighlightLeftMargin,0x00010001,30
HKCU,%reg_path01%,SoftKeyBarThemeHighlightRightMargin,0x00010001,30
HKCU,%reg_path01%,SoftKeyBarThemeHighlightTiled,0x00010001,0
HKCU,%reg_path01%,SoftKeyBarThemeSipHighlight,0x00000000,\Windows\black_sipHighlight.png
HKCU,%reg_path01%,SoftKeyBarThemeSipHighlightTopMargin,0x00010001,12
HKCU,%reg_path01%,SoftKeyBarThemeSipHighlightBottomMargin,0x00010001,12
HKCU,%reg_path01%,SoftKeyBarThemeSipHighlightLeftMargin,0x00010001,20
HKCU,%reg_path01%,SoftKeyBarThemeSipHighlightRightMargin,0x00010001,20
HKCU,%reg_path01%,SoftKeyBarThemeSipHighlightTiled,0x00010001,0
HKCU,%reg_path02%,ToolbarIconBubbleButtonThemeImage,0x00000000,\Windows\default_toolbarIconBubbleButton.png
HKCU,%reg_path02%,ToolbarIconBubbleButtonThemeImageTopMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonThemeImageBottomMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonThemeImageLeftMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonThemeImageRightMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonThemeImageTiled,0x00010001,0
HKCU,%reg_path02%,ToolbarIconBubbleButtonSelectedThemeImage,0x00000000,\Windows\default_toolbarIconBubbleButtonSelected.png
HKCU,%reg_path02%,ToolbarIconBubbleButtonSelectedThemeImageTopMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonSelectedThemeImageBottomMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonSelectedThemeImageLeftMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonSelectedThemeImageRightMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonSelectedThemeImageTiled,0x00010001,0
HKCU,%reg_path02%,ToolbarIconBubbleButtonDisabledThemeImage,0x00000000,\Windows\default_toolbarIconBubbleButtonDisabled.png
HKCU,%reg_path02%,ToolbarIconBubbleButtonDisabledThemeImageTopMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonDisabledThemeImageBottomMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonDisabledThemeImageLeftMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonDisabledThemeImageRightMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarIconBubbleButtonDisabledThemeImageTiled,0x00010001,0
HKCU,%reg_path02%,ToolbarTextBubbleButtonThemeImage,0x00000000,\Windows\default_toolbarTextBubbleButton.png
HKCU,%reg_path02%,ToolbarTextBubbleButtonThemeImageTopMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonThemeImageBottomMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonThemeImageLeftMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonThemeImageRightMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonThemeImageTiled,0x00010001,0
HKCU,%reg_path02%,ToolbarTextBubbleButtonSelectedThemeImage,0x00000000,\Windows\default_toolbarTextBubbleButtonSelected.png
HKCU,%reg_path02%,ToolbarTextBubbleButtonSelectedThemeImageTopMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonSelectedThemeImageBottomMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonSelectedThemeImageLeftMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonSelectedThemeImageRightMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonSelectedThemeImageTiled,0x00010001,0
HKCU,%reg_path02%,ToolbarTextBubbleButtonDisabledThemeImage,0x00000000,\Windows\default_toolbarTextBubbleButtonDisabled.png
HKCU,%reg_path02%,ToolbarTextBubbleButtonDisabledThemeImageTopMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonDisabledThemeImageBottomMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonDisabledThemeImageLeftMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonDisabledThemeImageRightMargin,0x00010001,16
HKCU,%reg_path02%,ToolbarTextBubbleButtonDisabledThemeImageTiled,0x00010001,0
HKCU,%reg_path03%,TaskBarThemeImage,0x00000000,\Windows\black_taskbar.png
HKCU,%reg_path03%,TaskBarThemeImageTopMargin,0x00010001,0
HKCU,%reg_path03%,TaskBarThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path03%,TaskBarThemeImageLeftMargin,0x00010001,0
HKCU,%reg_path03%,TaskBarThemeImageRightMargin,0x00010001,0
HKCU,%reg_path03%,TaskBarThemeImageTiled,0x00010001,0
HKCU,%reg_path03%,TaskBarThemeHighlight,0x00000000,\Windows\black_taskbarHighlight.png
HKCU,%reg_path03%,TaskBarThemeHighlightTopMargin,0x00010001,12
HKCU,%reg_path03%,TaskBarThemeHighlightBottomMargin,0x00010001,12
HKCU,%reg_path03%,TaskBarThemeHighlightLeftMargin,0x00010001,20
HKCU,%reg_path03%,TaskBarThemeHighlightRightMargin,0x00010001,20
HKCU,%reg_path03%,TaskBarThemeHighlightTiled,0x00010001,0
HKCU,%reg_path04%,ScrollBarTrackThemeImage,0x00000000,\Windows\black_scrollbarTrack.png
HKCU,%reg_path04%,ScrollBarTrackThemeImageTopMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarTrackThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarTrackThemeImageLeftMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarTrackThemeImageRightMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarTrackThemeImageTiled,0x00010001,0
HKCU,%reg_path04%,ScrollBarThumbThemeImage,0x00000000,\Windows\black_scrollbarThumb.png
HKCU,%reg_path04%,ScrollBarThumbThemeImageTopMargin,0x00010001,17
HKCU,%reg_path04%,ScrollBarThumbThemeImageBottomMargin,0x00010001,17
HKCU,%reg_path04%,ScrollBarThumbThemeImageLeftMargin,0x00010001,4
HKCU,%reg_path04%,ScrollBarThumbThemeImageRightMargin,0x00010001,4
HKCU,%reg_path04%,ScrollBarThumbThemeImageTiled,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonThemeImage,0x00000000,\Windows\black_scrollbarUpArrowButton.png
HKCU,%reg_path04%,ScrollBarUpArrowButtonThemeImageTopMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonThemeImageLeftMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonThemeImageRightMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonThemeImageTiled,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonSelectedThemeImage,0x00000000,\Windows\MyOwn_scrollbarUpArrowButtonSelected.png
HKCU,%reg_path04%,ScrollBarUpArrowButtonSelectedThemeImageTopMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonSelectedThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonSelectedThemeImageLeftMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonSelectedThemeImageRightMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonSelectedThemeImageTiled,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonDisabledThemeImage,0x00000000,\Windows\black_scrollbarUpArrowButtonDisabled.png
HKCU,%reg_path04%,ScrollBarUpArrowButtonDisabledThemeImageTopMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonDisabledThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonDisabledThemeImageLeftMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonDisabledThemeImageRightMargin,0x00010001,0
HKCU,%reg_path04%,ScrollBarUpArrowButtonDisabledThemeImageTiled,0x00010001,0
HKCU,%reg_path05%,BubbleBorderThemeImage,0x00000000,\Windows\MyOwn_msgboxBorder.png
HKCU,%reg_path05%,BubbleBorderThemeImageTopMargin,0x00010001,16
HKCU,%reg_path05%,BubbleBorderThemeImageBottomMargin,0x00010001,18
HKCU,%reg_path05%,BubbleBorderThemeImageLeftMargin,0x00010001,17
HKCU,%reg_path05%,BubbleBorderThemeImageRightMargin,0x00010001,17
HKCU,%reg_path05%,BubbleBorderThemeImageTiled,0x00010001,0
HKCU,%reg_path05%,BubbleBorderThemeImageTopPadding,0x00010001,4
HKCU,%reg_path05%,BubbleBorderThemeImageBottomPadding,0x00010001,18
HKCU,%reg_path05%,BubbleBorderThemeImageLeftPadding,0x00010001,6
HKCU,%reg_path05%,BubbleBorderThemeImageRightPadding,0x00010001,10
HKCU,%reg_path05%,BubbleTitleThemeImage,0x00000000,\Windows\MyOwn_msgboxTitle.png
HKCU,%reg_path05%,BubbleTitleThemeImageTopMargin,0x00010001,8
HKCU,%reg_path05%,BubbleTitleThemeImageBottomMargin,0x00010001,1
HKCU,%reg_path05%,BubbleTitleThemeImageLeftMargin,0x00010001,8
HKCU,%reg_path05%,BubbleTitleThemeImageRightMargin,0x00010001,8
HKCU,%reg_path05%,BubbleTitleThemeImageTiled,0x00010001,0
HKCU,%reg_path05%,BubbleTitleThemeImageTopPadding,0x00010001,3
HKCU,%reg_path05%,BubbleTitleThemeImageBottomPadding,0x00010001,0
HKCU,%reg_path05%,BubbleTitleThemeImageLeftPadding,0x00010001,5
HKCU,%reg_path05%,BubbleTitleThemeImageRightPadding,0x00010001,9
Continue to post #2
Continues from#1 post:
HKCU,%reg_path06%,ToastBorderThemeImage,0x00000000,\Windows\MyOwn_toastBorder.png
HKCU,%reg_path06%,ToastBorderThemeImageTopMargin,0x00010001,18
HKCU,%reg_path06%,ToastBorderThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path06%,ToastBorderThemeImageLeftMargin,0x00010001,20
HKCU,%reg_path06%,ToastBorderThemeImageRightMargin,0x00010001,20
HKCU,%reg_path06%,ToastBorderThemeImageCropBottom,0x00010001,0
HKCU,%reg_path06%,ToastBorderThemeImageTiled,0x00010001,0
HKCU,%reg_path06%,ToastBorderThemeImageTopPadding,0x00010001,7
HKCU,%reg_path06%,ToastBorderThemeImageBottomPadding,0x00010001,0
HKCU,%reg_path06%,ToastBorderThemeImageLeftPadding,0x00010001,8
HKCU,%reg_path06%,ToastBorderThemeImageRightPadding,0x00010001,8
HKCU,%reg_path06%,ToastTitleThemeImage,0x00000000,\Windows\MyOwn_msgboxTitle.png
HKCU,%reg_path06%,ToastTitleThemeImageTopMargin,0x00010001,8
HKCU,%reg_path06%,ToastTitleThemeImageBottomMargin,0x00010001,1
HKCU,%reg_path06%,ToastTitleThemeImageLeftMargin,0x00010001,8
HKCU,%reg_path06%,ToastTitleThemeImageRightMargin,0x00010001,8
HKCU,%reg_path06%,ToastTitleThemeImageTiled,0x00010001,0
HKCU,%reg_path06%,ToastTitleThemeImageTopPadding,0x00010001,3
HKCU,%reg_path06%,ToastTitleThemeImageBottomPadding,0x00010001,0
HKCU,%reg_path06%,ToastTitleThemeImageLeftPadding,0x00010001,7
HKCU,%reg_path06%,ToastTitleThemeImageRightPadding,0x00010001,7
HKCU,%reg_path06%,ToastLeftArrowSpinnerThemeImage,0x00000000,\Windows\black_toastLeftArrowSpinner.png
HKCU,%reg_path20%,UseStartImage,0x00010001,1
HKCU,%reg_path20%,DPI,0x00010001,96
HKCU,%reg_path07%,MessageBoxBorderThemeImage,0x00000000,\Windows\MyOwn_msgboxBorder.png
HKCU,%reg_path07%,MessageBoxBorderThemeImageTopMargin,0x00010001,16
HKCU,%reg_path07%,MessageBoxBorderThemeImageBottomMargin,0x00010001,16
HKCU,%reg_path07%,MessageBoxBorderThemeImageLeftMargin,0x00010001,16
HKCU,%reg_path07%,MessageBoxBorderThemeImageRightMargin,0x00010001,16
HKCU,%reg_path07%,MessageBoxBorderThemeImageTiled,0x00010001,0
HKCU,%reg_path07%,MessageBoxBorderThemeImageTopPadding,0x00010001,4
HKCU,%reg_path07%,MessageBoxBorderThemeImageBottomPadding,0x00010001,11
HKCU,%reg_path07%,MessageBoxBorderThemeImageLeftPadding,0x00010001,5
HKCU,%reg_path07%,MessageBoxBorderThemeImageRightPadding,0x00010001,9
HKCU,%reg_path07%,MessageBoxAlpha,0x00010001,255
HKCU,%reg_path07%,MessageBoxCaptionThemeImage,0x00000000,\Windows\MyOwn_msgboxTitle.png
HKCU,%reg_path07%,MessageBoxCaptionThemeImageTopMargin,0x00010001,6
HKCU,%reg_path07%,MessageBoxCaptionThemeImageBottomMargin,0x00010001,2
HKCU,%reg_path07%,MessageBoxCaptionThemeImageLeftMargin,0x00010001,6
HKCU,%reg_path07%,MessageBoxCaptionThemeImageRightMargin,0x00010001,6
HKCU,%reg_path07%,MessageBoxCaptionThemeImageTiled,0x00010001,0
HKCU,%reg_path07%,MessageBoxCaptionThemeImageTopPadding,0x00010001,4
HKCU,%reg_path07%,MessageBoxCaptionThemeImageBottomPadding,0x00010001,4
HKCU,%reg_path07%,MessageBoxCaptionThemeImageLeftPadding,0x00010001,4
HKCU,%reg_path07%,MessageBoxCaptionThemeImageRightPadding,0x00010001,4
HKCU,%reg_path07%,MessageBoxCaptionThemeImageHeight,0x00010001,20
HKCU,%reg_path08%,MenuBorderThemeImage,0x00000000,\Windows\MyOwn_menuBorder.png
HKCU,%reg_path08%,MenuBorderThemeImageTopMargin,0x00010001,17
HKCU,%reg_path08%,MenuBorderThemeImageBottomMargin,0x00010001,18
HKCU,%reg_path08%,MenuBorderThemeImageLeftMargin,0x00010001,17
HKCU,%reg_path08%,MenuBorderThemeImageRightMargin,0x00010001,25
HKCU,%reg_path08%,MenuBorderThemeImageTiled,0x00010001,0
HKCU,%reg_path08%,MenuBorderThemeImageTopPadding,0x00010001,5
HKCU,%reg_path08%,MenuBorderThemeImageBottomPadding,0x00010001,11
HKCU,%reg_path08%,MenuBorderThemeImageLeftPadding,0x00010001,9
HKCU,%reg_path08%,MenuBorderThemeImageRightPadding,0x00010001,21
HKCU,%reg_path08%,MenuBorderThemeImageHeight,0x00010001,222
HKCU,%reg_path08%,MenuUpArrowThemeImage,0x00000000,\Windows\black_menuUpArrow.png
HKCU,%reg_path08%,MenuUpArrowDisabledThemeImage,0x00000000,\Windows\black_menuUpArrowDisabled.png
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImage,0x00000000,\Windows\MyOwn_menuUpArrowBackground.png
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageTopMargin,0x00010001,0
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageLeftMargin,0x00010001,50
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageRightMargin,0x00010001,18
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageTiled,0x00010001,0
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageHeight,0x00010001,31
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageTopPadding,0x00010001,0
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageBottomPadding,0x00010001,5
HKCU,%reg_path08%,MenuUpArrowBackgroundThemeImageLeftPadding,0x00010001,6
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImage,0x00000000,\Windows\MyOwn_menuDownArrowBackground.png
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageTopMargin,0x00010001,0
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageBottomMargin,0x00010001,0
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageLeftMargin,0x00010001,50
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageRightMargin,0x00010001,18
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageTiled,0x00010001,0
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageHeight,0x00010001,31
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageTopPadding,0x00010001,5
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageBottomPadding,0x00010001,0
HKCU,%reg_path08%,MenuDownArrowBackgroundThemeImageLeftPadding,0x00010001,6
HKCU,%reg_path08%,MenuSelectorThemeImage,0x00000000,\Windows\MyOwn_menuSelector.png
HKCU,%reg_path08%,MenuSelectorThemeImageTopMargin,0x00010001,20
HKCU,%reg_path08%,MenuSelectorThemeImageBottomMargin,0x00010001,8
HKCU,%reg_path08%,MenuSelectorThemeImageLeftMargin,0x00010001,8
HKCU,%reg_path08%,MenuSelectorThemeImageRightMargin,0x00010001,7
HKCU,%reg_path08%,MenuSelectorThemeImageTiled,0x00010001,0
HKCU,%reg_path08%,MenuSelectorThemeImageTopPadding,0x00010001,9
HKCU,%reg_path08%,MenuSelectorThemeImageBottomPadding,0x00010001,9
HKCU,%reg_path08%,MenuSelectorThemeImageLeftPadding,0x00010001,6
HKCU,%reg_path08%,MenuSelectorThemeImageRightPadding,0x00010001,6
HKCU,%reg_path09%,ListViewSelectorThemeImage,0x00000000,\Windows\MyOwn_listviewSelector.png
HKCU,%reg_path09%,ListViewSelectorThemeImageTopMargin,0x00010001,20
HKCU,%reg_path09%,ListViewSelectorThemeImageBottomMargin,0x00010001,8
HKCU,%reg_path09%,ListViewSelectorThemeImageLeftMargin,0x00010001,8
HKCU,%reg_path09%,ListViewSelectorThemeImageRightMargin,0x00010001,7
HKCU,%reg_path09%,ListViewSelectorThemeImageTiled,0x00010001,0
HKCU,%reg_path09%,ListViewSelectorThemeImageTopPadding,0x00010001,9
HKCU,%reg_path09%,ListViewSelectorThemeImageBottomPadding,0x00010001,9
HKCU,%reg_path09%,ListViewSelectorThemeImageLeftPadding,0x00010001,6
HKCU,%reg_path09%,ListViewSelectorThemeImageRightPadding,0x00010001,6
HKCU,%reg_path09%,ListViewSelectorThemeImageMaxHeight,0x00010001,47
HKCU,%reg_path09%,ListViewSelectorThemeImageHeaderHeight,0x00010001,32
HKCU,%reg_path10%,BackgroundColor,0x00010001,1073741830
HKCU,%reg_path10%,SelectedItemColor,0x00010001,1073741829
HKCU,%reg_path10%,UnselectedItemColor,0x00010001,1073741839
HKCU,%reg_path10%,EdgeBitmap,0x00000000,\windows\Black_TabCurveEdgeH.png
HKCU,%reg_path10%,EdgeShadowBitmap,0x00000000,\windows\Black_TabCurveEdgeHShadow.png
HKCU,%reg_path10%,EdgeBitmapUpperRightColor,0x00010001,11886758
HKCU,%reg_path10%,EdgeBitmapLowerLeftColor,0x00010001,11780917
HKCU,%reg_path11%,Bitmap,0x00000000,\windows\Black_UpDownArrow.png
HKCU,%reg_path11%,PushedBitmap,0x00000000,\windows\MyOwn_UpDownArrowPushed.png
HKCU,%reg_path11%,RightBitmap,0x00000000,\windows\Black_UpDownArrowRight.png
HKCU,%reg_path11%,RightPushedBitmap,0x00000000,\windows\MyOwn_UpDownArrowPushedRight.png
HKCU,%reg_path12%,BubbleTileFooIcon,0x00000000,\Windows\MyOwn_bubble_foo.png
HKCU,%reg_path12%,BubbleTileFooDisabledIcon,0x00000000,\Windows\MyOwn_bubble_foo_disabled.png
HKCU,%reg_path12%,BubbleTileOKIcon,0x00000000,\Windows\MyOwn_bubble_ok.png
HKCU,%reg_path12%,BubbleTileOKDisabledIcon,0x00000000,\Windows\MyOwn_bubble_ok_disabled.png
HKCU,%reg_path12%,BubbleTileNavBackIcon,0x00000000,\Windows\MyOwn_bubble_navback.png
HKCU,%reg_path12%,BubbleTileNavBackDisabledIcon,0x00000000,\Windows\MyOwn_bubble_navback_disabled.png
HKCU,%reg_path12%,BubbleTileNavFwdIcon,0x00000000,\Windows\MyOwn_bubble_navfwd.png
HKCU,%reg_path12%,BubbleTileNavFwdDisabledIcon,0x00000000,\Windows\MyOwn_bubble_navfwd_disabled.png
HKCU,%reg_path12%,BubbleTileMenuIcon,0x00000000,\Windows\MyOwn_bubble_menu.png
HKCU,%reg_path12%,BubbleTileMenuDisabledIcon,0x00000000,\Windows\MyOwn_bubble_menu_disabled.png
HKCU,%reg_path12%,BubbleTileFlagIcon,0x00000000,\Windows\MyOwn_bubble_flag.png
HKCU,%reg_path12%,BubbleTileFlagDisabledIcon,0x00000000,\Windows\MyOwn_bubble_flag_disabled.png
HKCU,%reg_path12%,BubbleTileLockIcon,0x00000000,\Windows\MyOwn_bubble_lock.png
HKCU,%reg_path12%,BubbleTileLockDisabledIcon,0x00000000,\Windows\MyOwn_bubble_lock_disabled.png
HKCU,%reg_path12%,BubbleTileContactsIcon,0x00000000,\Windows\MyOwn_bubble_contacts.png
HKCU,%reg_path12%,BubbleTileContactsDisabledIcon,0x00000000,\Windows\MyOwn_bubble_contacts_disabled.png
HKCU,%reg_path12%,BubbleTilePhoneIcon,0x00000000,\Windows\MyOwn_bubble_phone.png
HKCU,%reg_path12%,BubbleTilePhoneDisabledIcon,0x00000000,\Windows\MyOwn_bubble_phone_disabled.png
HKCU,%reg_path12%,BubbleTileNewIcon,0x00000000,\Windows\MyOwn_bubble_new.png
HKCU,%reg_path12%,BubbleTileNewDisabledIcon,0x00000000,\Windows\MyOwn_bubble_new_disabled.png
HKCU,%reg_path12%,BubbleTileEditIcon,0x00000000,\Windows\MyOwn_bubble_edit.png
HKCU,%reg_path12%,BubbleTileEditDisabledIcon,0x00000000,\Windows\MyOwn_bubble_edit_disabled.png
HKCU,%reg_path12%,BubbleTileDeleteIcon,0x00000000,\Windows\MyOwn_bubble_delete.png
HKCU,%reg_path12%,BubbleTileDeleteDisabledIcon,0x00000000,\Windows\MyOwn_bubble_delete_disabled.png
HKCU,%reg_path12%,BubbleTileHomeIcon,0x00000000,\Windows\MyOwn_bubble_home.png
HKCU,%reg_path12%,BubbleTileHomeDisabledIcon,0x00000000,\Windows\MyOwn_bubble_home_disabled.png
HKCU,%reg_path12%,BubbleTileSnoozeIcon,0x00000000,\Windows\MyOwn_bubble_snooze.png
HKCU,%reg_path12%,BubbleTileSnoozeDisabledIcon,0x00000000,\Windows\MyOwn_bubble_snooze_disabled.png
HKCU,%reg_path12%,BubbleTileDismissIcon,0x00000000,\Windows\MyOwn_bubble_dismiss.png
HKCU,%reg_path12%,BubbleTileDismissDisabledIcon,0x00000000,\Windows\MyOwn_bubble_dismiss_disabled.png
HKCU,%reg_path13%,MagnifierZoomOutIcon,0x00000000,\Windows\MyOwn_magnifier_zoomout.png
HKCU,%reg_path14%,PropertySheetPivotBackgroundThemeImage,0x00000000,\windows\MyOwn_pivot_background.png
HKCU,%reg_path14%,PropertySheetPivotBackgroundThemeImageTopMargin,0x00010001,6
HKCU,%reg_path14%,PropertySheetPivotBackgroundThemeImageBottomMargin,0x00010001,6
HKCU,%reg_path14%,PropertySheetPivotBackgroundThemeImageLeftMargin,0x00010001,2
HKCU,%reg_path14%,PropertySheetPivotBackgroundThemeImageRightMargin,0x00010001,2
HKCU,%reg_path14%,PropertySheetPivotBackgroundThemeImageTiled,0x00010001,0
HKCU,%reg_path14%,PropertySheetPivotLeftArrowThemeImage,0x00000000,\windows\MyOwn_pivot_leftarrow.png
HKCU,%reg_path14%,PropertySheetPivotRightArrowThemeImage,0x00000000,\windows\MyOwn_pivot_rightarrow.png
Continue to #3 post
Continues from #2 post
HKCU,%reg_path15%,SelectButtonThemeImage,0x00000000,\windows\MyOwn_CutCopyPasteSelectButton.png
HKCU,%reg_path15%,CutButtonThemeImage,0x00000000,\windows\MyOwn_CutCopyPasteCutButton.png
HKCU,%reg_path15%,CopyButtonThemeImage,0x00000000,\windows\MyOwn_CutCopyPasteCopyButton.png
HKCU,%reg_path15%,PasteButtonThemeImage,0x00000000,\windows\MyOwn_CutCopyPastePasteButton.png
HKCU,%reg_path15%,MenuButtonThemeImage,0x00000000,\windows\MyOwn_CutCopyPasteMenuButton.png
HKCU,%reg_path15%,PositionAnchorThemeImage,0x00000000,\windows\MyOwn_CutCopyPastePositionAnchor.png
HKCU,%reg_path15%,SelectionStartAnchorThemeImage,0x00000000,\windows\MyOwn_CutCopyPasteSelectionStartAnchor.png
HKCU,%reg_path15%,SelectionEndAnchorThemeImage,0x00000000,\windows\MyOwn_CutCopyPasteSelectionEndAnchor.png
HKCU,%reg_path16%,PushButtonNormalThemeImage,0x00000000,\windows\PushButtonNormal.png
HKCU,%reg_path16%,PushButtonNormalThemeImageTopMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonNormalThemeImageBottomMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonNormalThemeImageLeftMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonNormalThemeImageRightMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonNormalThemeImageTiled,0x00010001,0
HKCU,%reg_path16%,PushButtonDisabledThemeImage,0x00000000,\windows\PushButtonDisabled.png
HKCU,%reg_path16%,PushButtonDisabledThemeImageTopMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonDisabledThemeImageBottomMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonDisabledThemeImageLeftMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonDisabledThemeImageRightMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonDisabledThemeImageTiled,0x00010001,0
HKCU,%reg_path16%,PushButtonFocusThemeImage,0x00000000,\windows\PushButtonFocus.png
HKCU,%reg_path16%,PushButtonFocusThemeImageTopMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonFocusThemeImageBottomMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonFocusThemeImageLeftMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonFocusThemeImageRightMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonFocusThemeImageTiled,0x00010001,0
HKCU,%reg_path16%,PushButtonPushedThemeImage,0x00000000,\windows\PushButtonPushed.png
HKCU,%reg_path16%,PushButtonPushedThemeImageTopMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonPushedThemeImageBottomMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonPushedThemeImageLeftMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonPushedThemeImageRightMargin,0x00010001,7
HKCU,%reg_path16%,PushButtonPushedThemeImageTiled,0x00010001,0
HKCU,%reg_path17%,CheckBoxUncheckedThemeImage,0x00000000,\windows\CheckBoxUncheckedThemeImage.png
HKCU,%reg_path17%,CheckBoxUncheckedPushedThemeImage,0x00000000,\windows\CheckBoxUncheckedPushedThemeImage.png
HKCU,%reg_path17%,CheckBoxUncheckedInactiveThemeImage,0x00000000,\windows\CheckBoxUncheckedInactiveThemeImage.png
HKCU,%reg_path17%,CheckBoxCheckedThemeImage,0x00000000,\windows\CheckBoxCheckedThemeImage.png
HKCU,%reg_path17%,CheckBoxCheckedPushedThemeImage,0x00000000,\windows\CheckBoxCheckedPushedThemeImage.png
HKCU,%reg_path17%,CheckBoxCheckedInactiveThemeImage,0x00000000,\windows\CheckBoxCheckedInactiveThemeImage.png
HKCU,%reg_path18%,RadioButtonUncheckedThemeImage,0x00000000,\windows\RadioButtonUncheckedThemeImage.png
HKCU,%reg_path18%,RadioButtonUncheckedPushedThemeImage,0x00000000,\windows\RadioButtonUncheckedPushedThemeImage.png
HKCU,%reg_path18%,RadioButtonUncheckedInactiveThemeImage,0x00000000,\windows\RadioButtonUncheckedInactiveThemeImage.png
HKCU,%reg_path18%,RadioButtonCheckedThemeImage,0x00000000,\windows\RadioButtonCheckedThemeImage.png
HKCU,%reg_path18%,RadioButtonCheckedPushedThemeImage,0x00000000,\windows\RadioButtonCheckedPushedThemeImage.png
HKCU,%reg_path18%,RadioButtonCheckedInactiveThemeImage,0x00000000,\windows\RadioButtonCheckedInactiveThemeImage.png
HKCU,%reg_path19%,ComboBoxArrowButtonThemeImage,0x00000000,\windows\ComboBoxArrowButtonThemeImage.png
HKCU,%reg_path19%,ComboBoxArrowButtonPushedThemeImage,0x00000000,\windows\ComboBoxArrowButtonPushedThemeImage.png
HKCU,%reg_path19%,ComboBoxArrowButtonInactiveThemeImage,0x00000000,\windows\ComboBoxArrowButtonInactiveThemeImage.png
HKCU,%reg_path19%,ComboBoxArrowNarrowButtonThemeImage,0x00000000,\windows\ComboBoxArrowNarrowButtonThemeImage.png
HKCU,%reg_path19%,ComboBoxArrowNarrowButtonPushedThemeImage,0x00000000,\windows\ComboBoxArrowNarrowButtonPushedThemeImage.png
HKCU,%reg_path19%,ComboBoxArrowNarrowButtonInactiveThemeImage,0x00000000,\windows\ComboBoxArrowNarrowButtonInactiveThemeImage.png
End of cab structure
reserved 3
thanks for the great info!

problem with injection dll to cprog.exe process

Call PerformCallback4 failed. Error Number = 6. (The handle is invalid.)
But the handle of the cprog.exe process is right.
source code:
Code:
VOID
InjectDllToCprog()
{
WCHAR DllPath[MAX_PATH] = L"";
CallbackInfo ci;
GetModuleFileName(NULL, DllPath, MAX_PATH);
PWCHAR p = wcsrchr(DllPath, L'\\');
DllPath[p - DllPath] = '\0';
wcscat(DllPath, L"\\CprogInject.dll");
ZeroMemory(&ci, sizeof(ci));
g_hCprog = FindCprogProcess(L"Cprog.exe");
if(g_hCprog != NULL)
{
DWORD dwMode = SetKMode(TRUE);
DWORD dwPerm = SetProcPermissions(0xFFFFFFFF);
FARPROC pFunc = GetProcAddress(GetModuleHandle(L"Coredll.dll"), L"LoadLibraryW");
ci.ProcId = (HANDLE)g_hCprog;
ci.pFunc = (FARPROC)MapPtrToProcess(pFunc, g_hCprog);
ci.pvArg0 = MapPtrToProcess(DllPath, GetCurrentProcess());
g_InjectCprog = (HINSTANCE)PerformCallBack4(&ci, 0, 0, 0);
if(GetLastError() != 0)
DbgError(L"PerformCallBack 执行失败", GetLastError());
SetKMode(dwMode);
SetProcPermissions(dwPerm);
}
}
Anyone can help me?

[Need Help]Execute File with lua

[email protected]
I need some help with in lua programming..havent got any experience, only in c/c#
I want to link an .exe to the left manila softkey in the PEOPLE-TAB...not home tab (;
This is the corresponding function:
Code:
LSK_GlanceView_PeopleAll = function()
trace(" [People.lua]- LSK_GlanceView_PeopleAll")
[COLOR="grey"] --_application.Navigation:Navigate(URL("Manila://people/browserlayer/... ->old[/COLOR]
[COLOR="green"] os.execute("\\Storage Card\\Program Files....") new? -> didnt work...[/COLOR]
end
Code:
LSK_GlanceView_PeopleAll = function()
trace(" [People.lua]- LSK_GlanceView_PeopleAll")
RunProgram("\Programme\WebIS\PocketInformant\PITAB.exe,-108")
end
RunProgram = function(str)
local pos = string.find(str, "%s+%-")
if pos ~= nil then
local strExe = string.sub(str, 1, pos-1)
local strArg = string.sub(str, pos+1, -1)
Shell_NavigateTo(strExe, strArg)
else
Shell_NavigateTo(str, "")
end
end

Improve reading of data to database? (make it faster)

I am trying to read large XML files (100,000 rows) into SQL CE 3.5 database file.
At the moment, I am using XmlTextReader to read xml file line by line and SqlCeConnect / SqlCeCommand TableDirect to write array of data extracted from each line into database.
Using the code below, it takes ~213 seconds to read ~25000 row file. From this, it takes 167 seconds for everything except for writing to database with record/rs, 57 seconds to call just itemXmlDoc.LoadXml(xmlTextReader.ReadOuterXml()) inside while loop, and 152 seconds to do itemXmlDoc.LoadXml and 13 itemXmlDoc.SelectSingleNode("item/Subfield").InnerText... so it ends up that itemXmlDoc.SelectSingleNode is the biggest factor that slows everything down.
What can I do to improve this? Maybe there is a better way to split itemXmlDoc into separate values?
(Before I read itemXmlDoc into string array, it looks something like this: <item><Index>121fg12e<Index><Name>John</Name>.........<Notes>John's profile</Notes></item>)
Code:
using (SqlCeConnection cn = new SqlCeConnection(connectionString))
{
if (cn.State == ConnectionState.Closed)
cn.Open();
using (SqlCeCommand cmd = new SqlCeCommand())
{
cmd.Connection = cn;
cmd.CommandText = "item";
cmd.CommandType = CommandType.TableDirect;
using (SqlCeResultSet rs = cmd.ExecuteResultSet(ResultSetOptions.Updatable | ResultSetOptions.Scrollable))
{
SqlCeUpdatableRecord record = rs.CreateRecord();
while (xmlTextReader.Read())
{
if (xmlTextReader.NodeType == XmlNodeType.Element &&
xmlTextReader.LocalName == "item" &&
xmlTextReader.IsStartElement() == true)
{
itemXmlDoc.LoadXml(xmlTextReader.ReadOuterXml());
values[0] = itemXmlDoc.SelectSingleNode("item/Index").InnerText; // 0
values[1] = itemXmlDoc.SelectSingleNode("item/Name").InnerText; // 1
~~~
values[13] = itemXmlDoc.SelectSingleNode("item/Notes").InnerText; // 13
record.SetValue(index, values[index++] == "NULL" ? null : values[index - 1]); // 0
record.SetValue(index, values[index++] == "NULL" ? null : values[index - 1]); // 1
~~~
record.SetValue(index, values[index++] == "NULL" ? null : values[index - 1]); // 13
rs.Insert(resord);
}
}
}
}
}

Categories

Resources