| 306 | }; |
| 307 | |
| 308 | ILibraryInjector * allocLibraryInjector(void) { |
| 309 | LibraryInjector * thisobj = GlobalAlloc(GMEM_FIXED, sizeof(LibraryInjector)); |
| 310 | if (!thisobj) |
| 311 | return NULL; |
| 312 | |
| 313 | InterlockedIncrement(&comObjectsCount); |
| 314 | thisobj->refCount = 0; |
| 315 | thisobj->lpVtbl = &libraryInjectorVtbl; |
| 316 | |
| 317 | return (ILibraryInjector *)thisobj; |
| 318 | } |
| 319 | |
| 320 | void freeLibraryInjector(LibraryInjector * injector) { |
| 321 | if (injector) { |
no outgoing calls
no test coverage detected