|
Posted by frank chen on November 21, 2006, 2:42 am
Please log in for more thread options
Hi,
I am an students.I am interested in wince.Now I have some troubles. I
am programming a registry editor for smartphone,.
I have modified the registry key,and then reboot the ppc, but take no
effect. After reset, I view the registry key which I modified by the vs
remote registry editor and other registry editor, the registry key is
really
modified. The following is my codes, by which I want to display some
words in the today screen.
HKEY hOpenKey;
DWORD result;
long lresult =
RegCreateKeyEx(HKLM,TEXT("Software\Microsoft\Shell\DeviceBeta"),
0,L"",NULL,NULL,NULL,&hOpenKey,&result);
if(lresult==ERROR_SUCCESS)
{
TCHAR Value[256];
ZeroMemory(Value,256);
lstrcpy(Value,TEXT("IBE"));;
lresult =
RegSetValueEx(hOpenKey,TEXT("Today"),0,REG_SZ,(const BYTE
*)&Value,256);
}
RegFlushKey (hOpenKey);
RegCloseKey (hOpenKey);
PostMessage(::GetDesktopWindow(),WM_WININICHANGE,0xF2,0);
please help me!!
|
| Similar Threads | Posted | | ANN: (Hopefully) final MIDlet Bible main feature & hack & standards compliance chart published! | October 5, 2007, 11:04 am |
| Editing Registry | January 6, 2006, 7:19 am |
| How to edit registry? | November 27, 2006, 12:13 pm |
| Registry Editor Install | January 19, 2008, 6:36 pm |
| Registry setting for earpiece volume? | August 14, 2006, 11:08 pm |
| Restoring the Backed-Up registry file. | May 9, 2007, 2:51 am |
| Disable Error reporting registry entyr for WM6.1 | July 30, 2008, 1:29 am |
| Any registry cleaner / memory defrag for WM2003 smartphone? | November 23, 2005, 7:21 am |
| Registry Editor via Resco Explorer on Windows Mobile 5? | September 7, 2006, 1:22 pm |
| Registry Configuration Service Provider entry for Unimodem DevConf | June 5, 2005, 4:56 pm |
|