•  Back 
  •  Resource Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filersrc_obfix()
Resource Library
rsrc_rcfix()                                                            AES

Syntax

WORD rsrc_rcfix( rc_header )
VOID *rc_header;

Function       rsrc_rcfix() fixes up coordinates and memory pointers of
               raw resource data in memory.

Opcode         115 (0x73)

Availability   Available only in AES versions 4.0 and greater. The
               presence of this call should also be checked for using
               appl_getinfo().

Parameters     rc_header is a pointer to an Atari Resource Construction
               Set (or compatible) resource file header in memory.

Binding        addrin[0] = rc_header;

               return crys_if(0x73);

Return Value   rsrc_rcfix() returns a 0 if unsuccessful or non-zero
               otherwise.

Comments       If a resource has already been loaded with rsrc_load() it
               must be freed by rsrc_free() prior to this call. In
               addition, resources identified with this call must likewise
               be freed before program termination or another resource
               file is needed.

See Also       rsrc_obfix()

Group          Resource Library