Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > NdisSetTimerObject error

Reply
Thread Tools Display Modes

NdisSetTimerObject error

 
 
Junior Member
Join Date: Sep 2010
Posts: 8

 
      09-25-2010
Sorry for the first post...
Hello Everyone!

I wanted to create a timer in the NDIS protocol driver, however, could not get it to work.
See, what I have written:

//---------------------------------------------------------------------------------------------------------------
Status = NdisAllocateTimerObject(
Globals.NdisProtocolHandle,
&AdvertisementTimerChar, //timer characteristics
&AdvertisementTimerObject);

if(Status)
{
__try
{
NdisSetTimerObject(&AdvertisementTimerObject,DueTi me,0,NULL);
}
__except(EXCEPTION_EXECUTE_HANDLER)
{

NtStatus = GetExceptionCode();
//here goes "ndisfreetimerobject"
}
}
//--------------------------------------------------------------------------------------------------------------------


While runtime I get the system fatal error.
Maybe I have omitted some other required functions?


Thank you for any help.
Milx
 

Last edited by panikus; 09-26-2010 at 04:38 PM..
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble installing Windows XP SP3 and other MS updates DanP Windows Update 27 08-18-2010 09:34 PM
0x8BAD0008 Greg Just Windows Live Mail 0 03-24-2010 02:05 AM
Re: Server2003 2008 error !! Paul Bergson [MVP-DS] Active Directory 0 11-27-2009 12:19 PM
Re: Server2003 2008 error !! Meinolf Weber [MVP-DS] Active Directory 0 11-26-2009 01:37 PM
Unresolved items: incredible! Massimo ActiveSync 9 04-18-2006 03:11 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59