Tao.Sdl SDK Documentation

Sdl.SDL_MUSTLOCK Method 

Evaluates to true if the surface needs to be locked before access

[Visual Basic]
Public Shared Function SDL_MUSTLOCK( _
   ByVal surface As IntPtr _
) As Integer
[C#]
public static int SDL_MUSTLOCK(
   IntPtr surface
);

Parameters

surface

Return Value

1 if surface must be locked. 0 if it does not.

Remarks

Binds to C-function call in SDL_video.h:

#define SDL_MUSTLOCK(surface) (surface->offset ||    ((surface->flags & (SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_RLEACCEL)) != 0))

See Also

Sdl Class | Tao.Sdl Namespace