ref_vfcallback_InitVTables - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
InitVTables video filter callback
Initializes virtual method table (vtable) pointers for remote object creation.
void __cdecl InitVTables(struct FilterVTbls *vtables);
vtables | Pointer to vtables structure to initialize. |
This method is not thread-safe.
This function must not throw exceptions (see Except()).
This function is required to allow objects of type VBitmap
to be
initialized within the video filter. To enable this functionality, the
symbol VDEXT_MAIN
must be defined in exactly one module that includes
the filter headers, and InitVTables(&g_vtbls)
must be called prior to
the first VBitmap
creation.
Copyright (C) 2007-2012 Avery Lee.