mac-rom/Toolbox/CommToolbox/CommResourceMgr/CommResourceMgr.h
Elliot Nunn 4325cdcc78 Bring in CubeE sources
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included.

The Tools directory, containing mostly junk, is also excluded.
2017-12-26 09:52:23 +08:00

36 lines
899 B
C

/*
File: CommResourceMgr.h
Contains: xxx put contents here xxx
Written by: xxx put writers here xxx
Copyright: © 1990 by Apple Computer, Inc., all rights reserved.
Change History (most recent first):
<2> 7/2/90 kaz Defining some macros
<1> 3/15/90 BBH first checked in
To Do:
*/
// macros for CRM use
// returns header to CRM queue
#define CRMGetHeader (QHdrPtr) ((CTBBlockPtr) CRMGetGlobals)->CRMQueue
// this returns the top of the resource count list
#define GetList (CRMResourceCountPtr) ((CTBBlockPtr) CRMGetGlobals)->resList
// prototypes for internal routiens for CommResourceMgr.c
pascal long GetDeviceID(long dType);
CRMResourceCountPtr FindResource(Handle hResource);
void ClearResource(short refnum);
CRMResourceCountPtr RegisterDevice(Handle hResource);
void RemoveEntry(CRMResourceCountPtr pMatch);
void HandleResource(Handle hResource);