Re: About Converting/Type casting from USHORT to PVOID.
- From: sdr <sdr@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 29 Jan 2006 00:56:28 -0800
Yes Sir, It is an io register.
regards,
sd
"Doron Holan [MS]" wrote:
> why would you want to treat a USHORT as a pointer? is it an io register?
>
> 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.
>
>
> "sdr" <sdr@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:0A15E6B3-A261-49ED-8492-777229D1572D@xxxxxxxxxxxxxxxx
> > Respected Sir,
> >
> >
> > I have defined variable "myvar" as USHORT myvar[2]; . I
> > have
> > a problem in converting the variable "myvar[0]" of type USHORT
> > to type-casting of PVOID type. I have tried converting through
> > following manner :-
> >
> > (PVOID) myvar[0]. But this doesn't work ? So, Now, What I want from you
> > is,
> > please some one tell me as to how can I safely convert the variable to
> > type
> > PVOID in
> >
> > correct and portable manner too ?
> >
> >
> > regards,
> >
> > sd
>
>
>
.
- References:
- Re: About Converting/Type casting from USHORT to PVOID.
- From: Doron Holan [MS]
- Re: About Converting/Type casting from USHORT to PVOID.
- Prev by Date: Re: About Converting/Type casting from USHORT to PVOID.
- Next by Date: Re: How to check if a spin lock has been freed or released?
- Previous by thread: Re: About Converting/Type casting from USHORT to PVOID.
- Next by thread: Re: About Converting/Type casting from USHORT to PVOID.
- Index(es):
Relevant Pages
|