🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10582

Re: SHChangeNotify?

#10582
From: vERUs
Date: Mon, 29 Mar 2004 17:28
19 lines
1605 bytes
> How did you declare SHChangeNotificationLock() ?
> I can't get a lock, i must have done something wrong with the
> declaration...
> typedef HANDLE (__stdcall *LPSHCNL)(HWND, DWORD, LPCITEMIDLIST**, LPLONG);
> LPSHCNL lpSHChangeNotification_Lock;
>   lpSHChangeNotification_Lock = (LPSHCNL) GetProcAddress(hShell,
> MAKEINTRESOURCE(644));


This is how I do it...

typedef HANDLE (__stdcall *SHCNLProc)(HANDLE, DWORD, LPCITEMIDLIST**,
LPLONG);

SHCNLProc SHChangeNotificationLock;
SHChangeNotificationLock = (SHCNLProc)GetProcAddress(hmShellLib,
(LPCSTR)644);

//vERUs
Technical Details
Message-ID: <40685caa@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed00n.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40661182$1@newsgroups.borland.com> <40673be6$3@newsgroups.borland.com> <40675777@newsgroups.borland.com> <11tkuznic8rzy$.rybde7586g8f.dlg@40tude.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,58d792a597ba06e9
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-29 09:40:57 PST
From: "vERUs" <-verus-@telia.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40661182$1@newsgroups.borland.com> <40673be6$3@newsgroups.borland.com> <40675777@newsgroups.borland.com> <11tkuznic8rzy$.rybde7586g8f.dlg@40tude.net>
Subject: Re: SHChangeNotify?
Date: Mon, 29 Mar 2004 19:28:41 +0200
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.210.229.233
Message-ID: <40685caa@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080581290 217.210.229.233 (29 Mar 2004 09:28:10 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed00n.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail