Tao.Sdl SDK Documentation

Sdl.SDL_VideoDriverName Method 

This function returns a string with the name of the video driver.

[Visual Basic]
Public Shared Function SDL_VideoDriverName( _
   ByVal namebuf As String, _
   ByVal maxlen As Integer _
) As String
[C#]
public static string SDL_VideoDriverName(
   string namebuf,
   int maxlen
);

Parameters

namebuf
A dummy string that must be initialized before being passed in.
maxlen
Length of string

Return Value

Returns a string containing the driver name. It returns null if no driver has been initialized.

Remarks

It returns NULL if no driver has been initialized.

Binds to C-function call in SDL_video.h:

extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen)

See Also

Sdl Class | Tao.Sdl Namespace