DirectX SDK |
The Direct3DVertexBuffer7.GetVertexBufferDesc method retrieves a description of the vertex buffer.
object.GetVertexBufferDesc(desc As D3DVERTEXBUFFERDESC)
If the method fails, an error is raised and Err.Number may be DDERR_INVALIDPARAMS or another error code.