Re: My Computer & Recycle Bin
From: A.User (a_user_at_home.com)
Date: 07/30/04
- Next message: K. S. Huang: "Re: Xscale PXA255 CE.NET 4.2: Getting OEMGetExtensionDRAM to work ?"
- Previous message: David: "Re: What is the difference of "user idle state" and "system idle s"
- In reply to: Bruce Eitman \(eMVP\): "Re: My Computer & Recycle Bin"
- Next in thread: Ken Beauchesne: "Re: My Computer & Recycle Bin"
- Reply: Ken Beauchesne: "Re: My Computer & Recycle Bin"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Jul 2004 13:48:27 -0400
a snippit ...
#define REG_SUBKEY_MYCOMPUTER_ICON
(TEXT("{000214A0-0000-0000-C000-000000000046}"))
#define REG_SUBKEY_RECYCLEBIN_ICON
(TEXT("{000214A1-0000-0000-C000-000000000046}"))
int WINAPI WinMain(HINSTANCE hInst,
HINSTANCE hInstPrev,
LPWSTR lpCmdLine,
int nCmdShow
)
{
HKEY hKey = NULL;
// remove My Computer and Recycle Bin desktop icons
if (ERROR_SUCCESS != RegOpenKeyEx( HKEY_LOCAL_MACHINE,
L"\\Explorer\\Desktop", 0, 0, &hKey))
RETAILMSG(1, (TEXT("Launch: Could not open \\Explorer\\Desktop key!\r\n")));
else
{
if (ERROR_SUCCESS != RegDeleteValue(hKey, REG_SUBKEY_MYCOMPUTER_ICON))
RETAILMSG(1, (TEXT("Launch: Could not delete My Computer icon!\r\n")));
if (ERROR_SUCCESS != RegDeleteValue(hKey, REG_SUBKEY_RECYCLEBIN_ICON))
RETAILMSG(1, (TEXT("Launch: Could not delete Recycle Bin icon!\r\n")));
RegCloseKey( hKey);
}
// park cursor to extream right
SetCursorPos(320,0);
....
"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:OnN4qEkdEHA.2688@TK2MSFTNGP10.phx.gbl...
> What is C++.NET?
>
> Specifically, what was undefined? You may need to look some functions up
in
> help to see which header files to include and which libraries to link
with.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
>
- Next message: K. S. Huang: "Re: Xscale PXA255 CE.NET 4.2: Getting OEMGetExtensionDRAM to work ?"
- Previous message: David: "Re: What is the difference of "user idle state" and "system idle s"
- In reply to: Bruce Eitman \(eMVP\): "Re: My Computer & Recycle Bin"
- Next in thread: Ken Beauchesne: "Re: My Computer & Recycle Bin"
- Reply: Ken Beauchesne: "Re: My Computer & Recycle Bin"
- Messages sorted by: [ date ] [ thread ]