🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Capturing NDIS_STATUS_MEDIA_DISCONNECT message

#7607
From: Remy Lebeau (TeamB)
Date: Fri, 14 Jan 2005 20:13
19 lines
1666 bytes
"Maurice Anderson" <mauriceanderson@hotmail.com> wrote in message
news:41e78eb9@newsgroups.borland.com...

> Does anyone now how to capture the NDIS_STATUS_MEDIA_DISCONNECT
> like a wndows message?

It is not a message to begin with, so you cannot catch it like a message.
If you read the documentation, you will see that you are supposed to provide
your own ProtocolStatus/ProtocolCoStatus and ProtocolStatusComplete callback
functions in your NDIS miniport driver.  If you are not writting a miniport
driver, then you need to do so, because NDIS_STATUS_MEDIA_DISCONNECT is one
of the miniport driver's internal notifications.


http://msdn.microsoft.com/library/en-us/network/hh/network/302pro_d2a0f4bd-5fac-4874-b264-cace0c91c66a.xml.asp


Gambit
Technical Details
Message-ID: <41e8277e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41e78eb9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d06d95b85715e75f
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41e78eb9@newsgroups.borland.com>
Subject: Re: Capturing NDIS_STATUS_MEDIA_DISCONNECT message
Date: Fri, 14 Jan 2005 12:13:41 -0800
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41e8277e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105733502 68.69.17.41 (14 Jan 2005 12:11:42 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail