mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-01-21 18:35:32 +00:00
4325cdcc78
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.
36 lines
899 B
C
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);
|