12.07.2015 Views

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

PDF Library Supplement to the Core API Reference - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PDF</strong> <strong>Library</strong>-specific CallbacksASMemAvailProcASMemAvailProcACCB1 ASSize_t* ACCB2 ASMemAvailProc (void* clientData);DescriptionCalled when <strong>the</strong> <strong>PDF</strong> <strong>Library</strong> needs <strong>to</strong> determine <strong>the</strong> amount of available free memory.ParametersclientDataA pointer <strong>to</strong> <strong>the</strong> clientData specified in <strong>the</strong>TKAlloca<strong>to</strong>rProcs structure.Return ValueAmount of available free memory.Header File<strong>PDF</strong>Init.hRelated CallbacksASMemAllocProcASMemFreeProcASMemReallocProcRelated Methods<strong>PDF</strong>LInitExampleos_size_t sys_memavail(void){MEMORYSTATUS ms;ms.dwLength = sizeof(ms);GlobalMemoryStatus(&ms);return ms.dwAvailPhys + ms.dwAvailPageFile;}<strong>PDF</strong> <strong>Library</strong> <strong>Supplement</strong> <strong>to</strong> <strong>the</strong> Acrobat <strong>Core</strong> <strong>API</strong> <strong>Reference</strong> 55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!