PDA

View Full Version : API to get Computer Info ?


Polaris
February 19th 05, 05:26 AM
Hi:

Is there a SDK API to get computer info like "Intel (R) Pentium(R) M" etc as
shown in Control Panel - System - General page?

Thanks in Advance !

Polaris

thatsalok
February 19th 05, 06:05 AM
Use this Api:-
GetSystemInfo


--

With Regards
Alok Gupta
Visit me at http://alok.bizhat.com

"I think this will Help"

"Polaris" > wrote in message
...
> Hi:
>
> Is there a SDK API to get computer info like "Intel (R) Pentium(R) M" etc
as
> shown in Control Panel - System - General page?
>
> Thanks in Advance !
>
> Polaris
>
>

Juan
February 19th 05, 06:07 AM
Try Start\Run\Msinfo32.exe

-----------------------------------------------------
"Polaris" > escribió en el mensaje
...
> Hi:
>
> Is there a SDK API to get computer info like "Intel (R) Pentium(R) M" etc
as
> shown in Control Panel - System - General page?
>
> Thanks in Advance !
>
> Polaris
>
>

Polaris
February 19th 05, 06:25 AM
GetSystemInfo does not return those info.

"thatsalok" > wrote in message
...
> Use this Api:-
> GetSystemInfo
>
>
> --
>
> With Regards
> Alok Gupta
> Visit me at http://alok.bizhat.com
>
> "I think this will Help"
>
> "Polaris" > wrote in message
> ...
>> Hi:
>>
>> Is there a SDK API to get computer info like "Intel (R) Pentium(R) M" etc
> as
>> shown in Control Panel - System - General page?
>>
>> Thanks in Advance !
>>
>> Polaris
>>
>>
>
>

thatsalok
February 19th 05, 07:09 AM
Actully these are many api which fill up the the General page of the
System->General page.

i.e.
1. The GlobalMemoryStatus function : returns The Total memory of computer.
2. GetVersionEx :return withthe current version of windows ie. it name
Service pack etc
3. Current user by GetUserName api
4. Computer name by GetComputername api
5.GetSystemInfo return with the processor related Info you have to manually
interpret to get "Intel (R) Pentium(R) M"

hope you got my point now

--

With Regards
Alok Gupta
Visit me at http://alok.bizhat.com

"I think this will Help"

..
"Polaris" > wrote in message
...
> GetSystemInfo does not return those info.
>
> "thatsalok" > wrote in message
> ...
> > Use this Api:-
> > GetSystemInfo
> >
> >
> > --
> >
> > With Regards
> > Alok Gupta
> > Visit me at http://alok.bizhat.com
> >
> > "I think this will Help"
> >
> > "Polaris" > wrote in message
> > ...
> >> Hi:
> >>
> >> Is there a SDK API to get computer info like "Intel (R) Pentium(R) M"
etc
> > as
> >> shown in Control Panel - System - General page?
> >>
> >> Thanks in Advance !
> >>
> >> Polaris
> >>
> >>
> >
> >
>
>

Polaris
February 19th 05, 08:09 AM
Thanks for your info, I do use those functions.

"thatsalok" > wrote in message
...
> Actully these are many api which fill up the the General page of the
> System->General page.
>
> i.e.
> 1. The GlobalMemoryStatus function : returns The Total memory of computer.
> 2. GetVersionEx :return withthe current version of windows ie. it name
> Service pack etc
> 3. Current user by GetUserName api
> 4. Computer name by GetComputername api
> 5.GetSystemInfo return with the processor related Info you have to
> manually
> interpret to get "Intel (R) Pentium(R) M"
>
> hope you got my point now
>
> --
>
> With Regards
> Alok Gupta
> Visit me at http://alok.bizhat.com
>
> "I think this will Help"
>
> .
> "Polaris" > wrote in message
> ...
>> GetSystemInfo does not return those info.
>>
>> "thatsalok" > wrote in message
>> ...
>> > Use this Api:-
>> > GetSystemInfo
>> >
>> >
>> > --
>> >
>> > With Regards
>> > Alok Gupta
>> > Visit me at http://alok.bizhat.com
>> >
>> > "I think this will Help"
>> >
>> > "Polaris" > wrote in message
>> > ...
>> >> Hi:
>> >>
>> >> Is there a SDK API to get computer info like "Intel (R) Pentium(R) M"
> etc
>> > as
>> >> shown in Control Panel - System - General page?
>> >>
>> >> Thanks in Advance !
>> >>
>> >> Polaris
>> >>
>> >>
>> >
>> >
>>
>>
>
>

BAR
February 19th 05, 02:15 PM
If you get Belarc Adviser it will give all this and more!

"Juan" wrote:

>
> Try Start\Run\Msinfo32.exe
>
> -----------------------------------------------------
> "Polaris" > escribió en el mensaje
> ...
> > Hi:
> >
> > Is there a SDK API to get computer info like "Intel (R) Pentium(R) M" etc
> as
> > shown in Control Panel - System - General page?
> >
> > Thanks in Advance !
> >
> > Polaris
> >
> >
>
>
>

Google