BCGSuite for MFC
static void CBCGPGraphicsManager::SetCreateInstanceCallback ( BCGP_CREATE_GRAPHICS_MANAGER_CALLBACK  pfnCreateInstance)
inlinestatic

Specifies a callback function, called when a new graphics manager instance is being created.

Parameters
pfnCreateInstanceA pointer to callback function or NULL.

Use this method to specify the callback function for creating a new graphics manager instance. The callback is: typedef CBCGPGraphicsManager* (CALLBACK* BCGP_CREATE_GRAPHICS_MANAGER_CALLBACK)(UINT manager, BOOL bFallback, CBCGPGraphicsManagerParams* pParams); where "manager" is one of BCGP_GRAPHICS_MANAGER enumerator values.