Vote UpVote

Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 2

The Road to Delphi – This is the part 2 of the Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Article One of the nice features of the Function Discovery API is the posibility of filter the results for device enumeration, for this you must use the CreateInstanceCollectionQuery method and then add the conditions for the query using the AddPropertyConstraint method. Try this sample Delphi code which enumerates all the processors devices where the manufacturer is Intel. {$APPTYPE CONSOLE} {$R *.res} uses System.Win.ComObj, Winapi.Windows, Winapi.Activex, Winapi.PropSys, ...
Favorite? Off-Topic? Rodrigo @ 2012-09-12 03:09


Visits: 651
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)