Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / cgxvideo / LockVLayer.c
blob9c88229b383daf8c25541034f6e7f9f7c3655e0e
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
5 #include <aros/debug.h>
7 #include "cgxvideo_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <clib/cgxvideo_protos.h>
14 AROS_LH1(ULONG, LockVLayer,
16 /* SYNOPSIS */
17 AROS_LHA(struct VLayerHandle *, VLayerHandle, A0),
19 /* LOCATION */
20 struct Library *, CGXVideoBase, 10, Cgxvideo)
22 /* FUNCTION
23 Locks the specified video layer to allow access to source data. Make
24 sure that you don't keep that lock for too long. It is only allowed
25 to keep it for a short time.
27 INPUTS
28 VLayerHandle - pointer to a previously created videolayer handle
30 RESULT
31 result - TRUE if video layer could be locked, FALSE otherwise
33 NOTES
35 EXAMPLE
37 BUGS
38 This function is unimplemented.
40 SEE ALSO
41 UnlockVLayer()
43 INTERNALS
45 HISTORY
47 *****************************************************************************/
49 AROS_LIBFUNC_INIT
51 aros_print_not_implemented ("LockVLayer");
52 return FALSE;
54 AROS_LIBFUNC_EXIT
55 } /* LockVLayer */