Get Graphic device information in DirectX

This time I work on windows phone 8 application, so i need to learn DirectX. Recently I had to get device information for device profile.

IDXGIDevice *m_DXGIDevice;
 IDXGIAdapter *m_DXGIAdapter;
 device->QueryInterface<IDXGIDevice>(&m_DXGIDevice);
 m_DXGIDevice->GetAdapter(&m_DXGIAdapter);
 m_DXGIAdapter->GetDesc(&m_adapterInfo);
 wcscpy(m_deviceModel,m_adapterInfo.Description);

Unfortunately this code work on windows desktop but not on windows phone.

 

Update 1 :

As you all know that windows phone 8 DirectX Feature level is 9.3, code above only supported on directX 10 and above. If you run this code in DirectX Feature level 9.3 (dekstop or phone) you will get “Software Driver” in m_adapterInfo.Description value.

Update 2 :

Windows Phone 8.1 brings DirectX 11.2, so you can use this snippet in this windows phone version.

One thought on “Get Graphic device information in DirectX

  1. How’s it going, g__giovani?

    Want to be Instagram famous?

    Have you ever thought about what it feels like to be an Instagram Influencer?

    Picture this: You arise early in the morning, even before your alarm buzzes.

    You pull out your phone.

    Navigate your way to your page.

    Youare surprised at what you see: Over 652 likes on one of your pictures! There, you see a a huge amount of likes on your pictures–over 832 on a single photo alone.

    You put your fuzzy slippers on and head to the kitchen for some tea. After putting on the kettle, you pull out your phone again.

    Presto! Another 87 likes.

    Buzz—another message pops into your inbox from a follower. They are asking you for advice on how you manage your food, and are congratulating you on your third month of hitting the gym.

    A smirk appears on your face as you read another message. This person emailed you to let you know she loves your posts.

    As you begin to write back, your cell buzzes again.

    Oops, another ping. But no time to reply—you’ve got to hit the gym.
    Listen, g__giovani, most people just aren’t in control of their life. Seriously, they can’t even force themselves to have a balanced brekky, much less hit the gym.

    My job is to take people from Instagram no one to Insta-celebrity. (It sounds ridiculous, but results do not lie.)

    Imagine if you increased your popularity by 100%, or 1000%?

    It is not complicated to do, although almost no one does. Just hit up our website. There, you will learn how to garner Instagram followers and likes like mad…effortlessly.

    Automagically see tons of likes on your images just minutes after posting.

    With this you’ve a big chance to be featured in the “Top Post” section.

    Sound too good to be true? Here’s what you have got to do to get a taste:
    1. Click https://rhymbo.surf
    2. Enter your Instagram username.
    3. The three pictures you posted last will receive 10 – 15 likes. Just like that.

    Being a everyday name on that page will increase your growth 10x, easy. But if you want the fame, you’ve got to reach for it. Are you ready?

    Chow for now.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s