See Also
You are here: Player Plug-ins > Definitions > Library Plug-ins > QCDModInitDB2 > QCDModInitDB2::toModule > CreateLibraryInstance
QMP Developer Reference Guide
ContentsIndexHome
PreviousUpNext
CreateLibraryInstance

The player calls this function to create an instance of an interface into the library.

Parameters
Parameters 
Description 
flags 
[in] no flags currently defined 
Return Values
Return Values 
Description 
NULL 
failed to create new library instance 
IQCDMediaLibrary* 
an instance of a IQCDMediaLibrary interface 
Remarks

The player will use this instance to operate the IQCDMediaLibrary interface that it provides other modules. For a module to support this function call, the module must be able to instantiate any number of independent IQCDMediaLibrary instances. 

The player will pass this interface will be passed to other modules to allow them to access to some basic media library functionality. If the module does not support this type of access, it should not implement this function.

See Also
Copyright (c) Quinnware 2007. All rights reserved.