Tao.Sdl SDK Documentation

Sdl.SDL_GetVideoInfo Method 

This function returns a read-only pointer to information about the video hardware.

[Visual Basic]
Public Shared Function SDL_GetVideoInfo() As IntPtr
[C#]
public static IntPtr SDL_GetVideoInfo();

Return Value

IntPtr to SDL_VideoInfo struct

Remarks

If this is called before SDL_SetVideoMode, the 'vfmt' member of the returned structure will contain the pixel format of the "best" video mode.

Binds to C-function call in SDL_video.h:

extern DECLSPEC const SDL_VideoInfo * SDLCALL SDL_GetVideoInfo(void)

See Also

Sdl Class | Tao.Sdl Namespace