MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / DllInitClasses

Function DllInitClasses

ThirdParty/ASIO/common/dllentry.cpp:207–222  ·  view source on GitHub ↗

Call any initialization routines

Source from the content-addressed store, hash-verified

205// Call any initialization routines
206//
207void DllInitClasses(BOOL bLoading)
208{
209 int i;
210
211 // DebugBreak();
212
213 // traverse the array of templates calling the init routine
214 // if they have one
215 for (i = 0; i < g_cTemplates; i++) {
216 const CFactoryTemplate * pT = &g_Templates[i];
217 if (pT->m_lpfnInit != NULL) {
218 (*pT->m_lpfnInit)(bLoading, pT->m_ClsID);
219 }
220 }
221
222}
223
224// called by COM to determine if this dll can be unloaded
225// return ok unless there are outstanding objects or a lock requested

Callers 1

DllEntryPointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected