From: HyperEngineer on
What is the difference between usbiodev.h and usbiodef.h? I have sample code
that calls for usbiodev.h. I have installed WDK and it has usbiodef.h.
Should I change the #include statement to call for usbiodef.h?

thanks,

--
If it aint broke, it probably needs improvement.
From: Doron Holan [MSFT] on
what build errors do you get if you make the switch?

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message
news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com...
> What is the difference between usbiodev.h and usbiodef.h? I have sample
> code
> that calls for usbiodev.h. I have installed WDK and it has usbiodef.h.
> Should I change the #include statement to call for usbiodef.h?
>
> thanks,
>
> --
> If it aint broke, it probably needs improvement.

From: HyperEngineer on
If I keep the usbiodev.h I get an error that it can't find the file, because
the file is not on my machine. When I use usbiodef.h I get an error saying
that _In_opt_ is an undeclared identifier in new.h line 60.

--
If it aint broke, it probably needs improvement.


"Doron Holan [MSFT]" wrote:

> what build errors do you get if you make the switch?
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message
> news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com...
> > What is the difference between usbiodev.h and usbiodef.h? I have sample
> > code
> > that calls for usbiodev.h. I have installed WDK and it has usbiodef.h.
> > Should I change the #include statement to call for usbiodef.h?
> >
> > thanks,
> >
> > --
> > If it aint broke, it probably needs improvement.
>
>
From: Doron Holan [MSFT] on
_In_opt_ only shows up if you are using the VS 2008 C++ compiler and headers
to compile code. the error would be coming from some other header though,
usbiodef.h does not contain any SAL whatsoever.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message
news:B688270C-11D5-405B-9FB1-E84160E6262E(a)microsoft.com...
> If I keep the usbiodev.h I get an error that it can't find the file,
> because
> the file is not on my machine. When I use usbiodef.h I get an error
> saying
> that _In_opt_ is an undeclared identifier in new.h line 60.
>
> --
> If it aint broke, it probably needs improvement.
>
>
> "Doron Holan [MSFT]" wrote:
>
>> what build errors do you get if you make the switch?
>>
>> --
>> Please do not send e-mail directly to this alias. this alias is for
>> newsgroup purposes only.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message
>> news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com...
>> > What is the difference between usbiodev.h and usbiodef.h? I have
>> > sample
>> > code
>> > that calls for usbiodev.h. I have installed WDK and it has usbiodef.h.
>> > Should I change the #include statement to call for usbiodef.h?
>> >
>> > thanks,
>> >
>> > --
>> > If it aint broke, it probably needs improvement.
>>
>>

From: HyperEngineer on
Nolan,

Yes, I am using the VS 2008 C++ compiler. I have installed the WDK versiion
6001.18001. This gave me usbiodef.h. If I need usbiodev.h, where do I get
it? The _In_opt_ identifier is used in "new.h", which is not my header but a
Microsoft header. It has #include <crtdefs.h>. Where is _In_opt_ declared?
How do I fix this problem?

Thanks for your help,
Dennis

--
If it aint broke, it probably needs improvement.


"Doron Holan [MSFT]" wrote:

> _In_opt_ only shows up if you are using the VS 2008 C++ compiler and headers
> to compile code. the error would be coming from some other header though,
> usbiodef.h does not contain any SAL whatsoever.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message
> news:B688270C-11D5-405B-9FB1-E84160E6262E(a)microsoft.com...
> > If I keep the usbiodev.h I get an error that it can't find the file,
> > because
> > the file is not on my machine. When I use usbiodef.h I get an error
> > saying
> > that _In_opt_ is an undeclared identifier in new.h line 60.
> >
> > --
> > If it aint broke, it probably needs improvement.
> >
> >
> > "Doron Holan [MSFT]" wrote:
> >
> >> what build errors do you get if you make the switch?
> >>
> >> --
> >> Please do not send e-mail directly to this alias. this alias is for
> >> newsgroup purposes only.
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
> >> "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message
> >> news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com...
> >> > What is the difference between usbiodev.h and usbiodef.h? I have
> >> > sample
> >> > code
> >> > that calls for usbiodev.h. I have installed WDK and it has usbiodef.h.
> >> > Should I change the #include statement to call for usbiodef.h?
> >> >
> >> > thanks,
> >> >
> >> > --
> >> > If it aint broke, it probably needs improvement.
> >>
> >>
>
>