Mac OS 9
CommResources.h File Reference

Communications Toolbox Resource Manager Interfaces. More...

#include <OSUtils.h>
#include <ConditionalMacros.h>

Go to the source code of this file.

Data Structures

struct  CRMRec
 

Typedefs

typedef OSErr CRMErr
 
typedef struct CRMRec CRMRec
 
typedef CRMRecCRMRecPtr
 

Enumerations

enum  { classCM = FOUR_CHAR_CODE('cbnd') , classFT = FOUR_CHAR_CODE('fbnd') , classTM = FOUR_CHAR_CODE('tbnd') }
 
enum  {
  curCRMVersion = 2 , crmType = 9 , crmRecVersion = 1 , crmGenericError = -1 ,
  crmNoErr = 0
}
 

Functions

CRMErr InitCRM (void)
 
QHdrPtr CRMGetHeader (void)
 
void CRMInstall (CRMRecPtr crmReqPtr)
 
OSErr CRMRemove (CRMRecPtr crmReqPtr)
 
CRMRecPtr CRMSearch (CRMRecPtr crmReqPtr)
 
short CRMGetCRMVersion (void)
 
Handle CRMGetResource (ResType theType, short theID)
 
Handle CRMGet1Resource (ResType theType, short theID)
 
Handle CRMGetIndResource (ResType theType, short index)
 
Handle CRMGet1IndResource (ResType theType, short index)
 
Handle CRMGetNamedResource (ResType theType, ConstStr255Param name)
 
Handle CRMGet1NamedResource (ResType theType, ConstStr255Param name)
 
void CRMReleaseResource (Handle theHandle)
 
Handle CRMGetToolResource (short procID, ResType theType, short theID)
 
Handle CRMGetToolNamedResource (short procID, ResType theType, ConstStr255Param name)
 
void CRMReleaseToolResource (short procID, Handle theHandle)
 
long CRMGetIndex (Handle theHandle)
 
short CRMLocalToRealID (ResType bundleType, short toolID, ResType theType, short localID)
 
short CRMRealToLocalID (ResType bundleType, short toolID, ResType theType, short realID)
 
OSErr CRMGetIndToolName (OSType bundleType, short index, Str255 toolName)
 
OSErr CRMFindCommunications (short *vRefNum, long *dirID)
 
Boolean CRMIsDriverOpen (ConstStr255Param driverName)
 
CRMErr CRMParseCAPSResource (Handle theHandle, ResType selector, unsigned long *value)
 
OSErr CRMReserveRF (short refNum)
 
OSErr CRMReleaseRF (short refNum)
 

Detailed Description

Communications Toolbox Resource Manager Interfaces.

Introduced In: System 7.5
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1988-2001 by Apple Computer, Inc., all rights reserved

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Typedef Documentation

◆ CRMErr

typedef OSErr CRMErr

data structures general to the use of the Communications Resource Manager

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
classCM 

tool classes (also the tool file types)

◆ anonymous enum

anonymous enum
Enumerator
curCRMVersion 

version of the Comm Resource Manager

crmType 

constants general to the use of the Communications Resource Manager

crmRecVersion 

queue type

crmGenericError 

version of queue structure error codes

Function Documentation

◆ CRMFindCommunications()

OSErr CRMFindCommunications ( short *  vRefNum,
long *  dirID 
)

CRMFindCommunications()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGet1IndResource()

Handle CRMGet1IndResource ( ResType  theType,
short  index 
)

CRMGet1IndResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGet1NamedResource()

Handle CRMGet1NamedResource ( ResType  theType,
ConstStr255Param  name 
)

CRMGet1NamedResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGet1Resource()

Handle CRMGet1Resource ( ResType  theType,
short  theID 
)

CRMGet1Resource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetCRMVersion()

short CRMGetCRMVersion ( void  )

CRMGetCRMVersion()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetHeader()

QHdrPtr CRMGetHeader ( void  )

CRMGetHeader()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetIndex()

long CRMGetIndex ( Handle  theHandle)

CRMGetIndex()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetIndResource()

Handle CRMGetIndResource ( ResType  theType,
short  index 
)

CRMGetIndResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetIndToolName()

OSErr CRMGetIndToolName ( OSType  bundleType,
short  index,
Str255  toolName 
)

CRMGetIndToolName()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetNamedResource()

Handle CRMGetNamedResource ( ResType  theType,
ConstStr255Param  name 
)

CRMGetNamedResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetResource()

Handle CRMGetResource ( ResType  theType,
short  theID 
)

CRMGetResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetToolNamedResource()

Handle CRMGetToolNamedResource ( short  procID,
ResType  theType,
ConstStr255Param  name 
)

CRMGetToolNamedResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMGetToolResource()

Handle CRMGetToolResource ( short  procID,
ResType  theType,
short  theID 
)

CRMGetToolResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMInstall()

void CRMInstall ( CRMRecPtr  crmReqPtr)

CRMInstall()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMIsDriverOpen()

Boolean CRMIsDriverOpen ( ConstStr255Param  driverName)

CRMIsDriverOpen()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMLocalToRealID()

short CRMLocalToRealID ( ResType  bundleType,
short  toolID,
ResType  theType,
short  localID 
)

CRMLocalToRealID()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMParseCAPSResource()

CRMErr CRMParseCAPSResource ( Handle  theHandle,
ResType  selector,
unsigned long *  value 
)

CRMParseCAPSResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMRealToLocalID()

short CRMRealToLocalID ( ResType  bundleType,
short  toolID,
ResType  theType,
short  realID 
)

CRMRealToLocalID()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMReleaseResource()

void CRMReleaseResource ( Handle  theHandle)

CRMReleaseResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMReleaseRF()

OSErr CRMReleaseRF ( short  refNum)

CRMReleaseRF()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMReleaseToolResource()

void CRMReleaseToolResource ( short  procID,
Handle  theHandle 
)

CRMReleaseToolResource()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMRemove()

OSErr CRMRemove ( CRMRecPtr  crmReqPtr)

CRMRemove()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMReserveRF()

OSErr CRMReserveRF ( short  refNum)

CRMReserveRF()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ CRMSearch()

CRMRecPtr CRMSearch ( CRMRecPtr  crmReqPtr)

CRMSearch()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available

◆ InitCRM()

CRMErr InitCRM ( void  )

CALL_NOT_IN_CARBON InitCRM()

Non-Carbon CFM: in InterfaceLib 7.1 and later
Carbon Lib: not available
Mac OS X: not available