Microsoft DirectX 8.1 (Visual Basic) |
Initializes a color with the supplied alpha, red, green, and blue values.
D3DColorARGB( _ a As Integer, _ r As Integer, _ g As Integer, _ b As Integer) As Long
Returns the Long value that corresponds to the supplied ARGB values.
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Visual Basic Error Handling topic.