#include <mi32/stddefns.h>
Go to the source code of this file.
Defines | |
| #define | LIBEXPORT MI_DLLIMPORT |
Functions | |
| LIBEXPORT int | MacNumResourcesOfType (FILE_RAW &file, UINT32 type) |
| LIBEXPORT int | MacReadResourceByID (FILE_RAW &file, UINT32 type, UINT16 ResID, void **pData) |
| LIBEXPORT int | MacReadResourceByNum (FILE_RAW &file, UINT32 type, int num, void **pData) |
| LIBEXPORT int | MacReadResourceByNum2 (MIUNICODE *filename, UINT32 type, int num, void **pData) |
| #define LIBEXPORT MI_DLLIMPORT |
Return the number of resources of a given type in a data-fork resource file.
This is for MacOS X where Apple kept TrueType fonts in the resource file structure but in a flat file.
| file | Opened with FILE_RAW::Open() | |
| type | e.g. 'sfnt' |
Read a resource of a given type and ID from a data-fork resource file.
This is for MacOS X where Apple kept TrueType fonts in the resource file structure but in a flat file. If pData is NULL, just return the size of the buffer If not NULL, *pData is allocated and should be MmFree()'d
| file | Opened with FILE_RAW::Open() | |
| type | e.g. 'sfnt' | |
| ResID | Resource ID |
Read the Nth resource of a given type from a data-fork resource file.
This is for MacOS X where Apple kept TrueType fonts in the resource file structure but in a flat file. If pData is NULL, just return the size of the buffer If not NULL, *pData is allocated and should be MmFree()'d
| file | Opened with FILE_RAW::Open() | |
| type | e.g. 'sfnt' | |
| num | Read the Nth resource (0-based) |
Read the Nth resource of a given type from a data-fork resource file.
This is for MacOS X where Apple kept TrueType fonts in the resource file structure but in a flat file. If pData is NULL, just return the size of the buffer If not NULL, *pData is allocated and should be MmFree()'d
| filename | Opened with FILE_RAW::Open() | |
| type | e.g. 'sfnt' | |
| num | Read the Nth resource (0-based) |
1.6.1