Re: Passing data from OnUrlMap to OnSendRawData by Wade
Wade
Tue Jan 10 16:03:46 CST 2006
Hi Pankaj,
The pFilterContext member is exactly what you use to do this.
Hint: The single value that you put there can be a pointer to an object or
structure. Just use AllocMem to create the structure in SF_NOTIFY_URL_MAP
and store the pointer in pFilterContext. Then SF_NOTIFY_SEND_RAW_DATA can
see it. And since you used AllocMem to allocate it, IIS will clean it up
for you when the connection with the client is closed.
I hope that this helps,
-Wade A. Hilmo,
-Microsoft
PS: If you have any further questions on this, or an other ISAPI topic,
please post them to microsoft.public.platformsdk.internet.server.isapi-dev,
which exists for this purpose.
"Pankaj" <pankaj.talk@gmail.com> wrote in message
news:1136888492.884592.23940@g14g2000cwa.googlegroups.com...
> Hi,
> I wish to pass some data (basically two values i.e. the current time in
> secs and millisecs) from OnUrlMap to OnSendRawData method.
> How can I accomplish this?
>
> pFilterContext doesnt help as it can contain only a single value.
>
> Regards
> Pankaj
>