Gets a named image from a resource file. Names for a resource can be given as a variable set of, null terminated, string arguments. Each string specifies one or more levels in the naming tree. A simple string without '.' characters specifies a single level in the naming tree where as a dot separated set of names in a string specify a series of names in the naming tree.
Loading a image, for example, could look like:
IResFile_GetNamedImage(piResFile, (void**)&piImage, "Main", "Background", "Image", 0))
or could look like:
IResFile_GetNamedImage(piResFile, (void**)&piImage, "Main.Background.Image", 0))
or a mix of the above:
IResFile_GetNamedImage(piResFile, (void**)&piImage, "Main", "Background.Image", 0))
- po:A pointer to an IResFile object.
- ppo:Pointer to an IImage pointer ...: null terminated string arguments (see above)
int IRESFILE_GetNamedImage(IResFile *po, void **ppo, ...)
IRESFILE_GetNamedImageV is actually a shortcut for the IResFile_GetNamedObject function with HTYPE_VIEWER.