mpw/toolbox/rm.h

53 lines
1.2 KiB
C
Raw Normal View History

2013-02-06 23:44:12 -05:00
#ifndef __mpw_rm_h__
#define __mpw_rm_h__
#include <cstdint>
namespace RM
{
2013-03-26 23:54:08 -04:00
namespace Native
{
uint16_t GetResource(uint32_t type, uint16_t id, uint32_t &theHandle);
}
2013-02-26 18:33:21 -05:00
uint16_t CloseResFile(uint16_t trap);
2013-02-19 18:28:58 -05:00
uint16_t GetNamedResource(uint16_t trap);
2013-02-07 22:12:30 -05:00
uint16_t Get1NamedResource(uint16_t trap);
2013-02-13 23:07:33 -05:00
uint16_t GetResource(uint16_t trap);
2013-02-19 18:28:58 -05:00
uint16_t Get1Resource(uint16_t trap);
2013-06-27 20:27:55 -04:00
uint16_t Get1IndResource(uint16_t trap);
2013-02-15 20:42:20 -05:00
uint16_t UnloadSeg(uint16_t trap);
2013-02-19 18:28:58 -05:00
uint16_t ReleaseResource(uint16_t trap);
2013-02-26 18:33:21 -05:00
uint16_t ResError(uint16_t trap);
uint16_t OpenResFile(uint16_t trap);
2013-06-23 22:05:57 -04:00
uint16_t OpenRFPerm(uint16_t trap);
2013-02-26 18:33:21 -05:00
uint16_t SetResLoad(uint16_t trap);
2013-03-02 20:53:54 -05:00
uint16_t CurResFile(uint16_t trap);
2013-03-03 21:55:33 -05:00
uint16_t UseResFile(uint16_t trap);
2013-06-23 20:42:16 -04:00
uint16_t CreateResFile(uint16_t trap);
2013-06-24 22:53:17 -04:00
uint16_t Count1Resources(uint16_t trap);
uint16_t UpdateResFile(uint16_t trap);
uint16_t GetResFileAttrs(uint16_t trap);
uint16_t SetResFileAttrs(uint16_t trap);
2013-06-27 20:27:55 -04:00
2013-06-26 23:24:20 -04:00
uint16_t AddResource(uint16_t trap);
2013-06-27 20:27:55 -04:00
uint16_t GetResAttrs(uint16_t trap);
2013-06-26 23:24:20 -04:00
uint16_t SetResAttrs(uint16_t trap);
uint16_t WriteResource(uint16_t trap);
uint16_t DetachResource(uint16_t trap);
2013-06-24 22:53:17 -04:00
2013-06-27 20:27:55 -04:00
uint16_t RemoveResource(uint16_t trap);
2013-02-06 23:44:12 -05:00
}
2013-02-15 20:42:20 -05:00
2013-02-06 23:44:12 -05:00
#endif