Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Feb : SHChangeNotifyDeregisterr in Windows 2000

www.cryer.info
Managed Newsgroup Archive

SHChangeNotifyDeregisterr in Windows 2000

Subject:SHChangeNotifyDeregisterr in Windows 2000
Posted by:"Chazza" (chaz..@null)
Date:Sun, 20 Feb 2005 11:10:14

I'm trying to use the above function in Windows 2000. However, Windows
2000 complains that it cannot be found in shell32.dll. It works fine in
Windows XP, and the MSDN doc states that it is available from Windows
2000 onwards.

The definition I'm using is:

function SHChangeNotifyDeregister(hWnd: HWND): Boolean; stdcall;

implementation

function SHChangeNotifyDeregister; external 'shell32.dll';

Does anybody know why this is happening, or another way to get access to
this function? Can somebody with Windows 2000 please try it themselves?
For the record, SHChangeNotifyRegister (Register, not Deregister) works
fine but Deregister does not.

Replies:

www.cryer.info
Managed Newsgroup Archive