Results 1 to 2 of 2

Thread: Direcx9 and Graphics Adapter[RESOLVED]

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2004
    Posts
    144

    Direcx9 and Graphics Adapter[RESOLVED]

    Hey all,

    By referencing Microsoft.DirectX.Direct3d I have found the name of my Graphics adapter....the only problem is i'm having problems finding the amount of RAM my adapter has.....Can anyone help

    Thanks
    Last edited by JamesBowtell; May 16th, 2005 at 09:19 AM.

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Nov 2004
    Posts
    144

    Re: Direcx9 and Graphics Adapter

    DOWNLOADED THE directx9 SDK used the following code, gives a value of RAM in bytes

    Code:
    Imports Microsoft.DirectX.DirectDraw
    
    Public Class Form2
        Inherits System.Windows.Forms.Form
    
        Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
            Dim objcaps As Microsoft.DirectX.DirectDraw.Caps
            TextBox1.Text = objcaps.VideoMemoryTotal()
    
        End Sub
    End Class

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width