MCPcopy Create free account
hub / github.com/DentonW/DevIL / ilPKCreateFactory

Function ilPKCreateFactory

DevIL/src-IL/src/il_wdp.cpp:315–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313
314
315ERR ilPKCreateFactory(PKFactory** ppFactory, U32 uVersion)
316{
317 ERR err = WMP_errSuccess;
318 PKFactory* pFactory = NULL;
319
320 Call(PKAlloc(ppFactory, sizeof(**ppFactory)));
321 pFactory = *ppFactory;
322
323 pFactory->CreateStream = PKCreateFactory_CreateStream;
324
325 pFactory->CreateStreamFromFilename = ilCreateWS_File;
326 pFactory->CreateStreamFromMemory = CreateWS_Memory;
327
328 pFactory->Release = PKCreateFactory_Release;
329
330Cleanup:
331 return err;
332}
333
334ILboolean iLoadWdpInternal(/*ILconst_string FileName*/)
335{

Callers 1

iLoadWdpInternalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected