Mac OS 9
ICADevice.h
Go to the documentation of this file.
1 
19 #ifndef __ICADEVICE__
20 #define __ICADEVICE__
21 
22 #ifndef __ICAAPPLICATION__
23 #include <ICAApplication.h>
24 #endif
25 
26 #if PRAGMA_ONCE
27 #pragma once
28 #endif
29 
30 #ifdef __cplusplus
31 extern "C"
32 {
33 #endif
34 
35 #if PRAGMA_IMPORT
36 #pragma import on
37 #endif
38 
39 #if PRAGMA_STRUCT_ALIGN
40 #pragma options align = mac68k
41 #elif PRAGMA_STRUCT_PACKPUSH
42 #pragma pack(push, 2)
43 #elif PRAGMA_STRUCT_PACK
44 #pragma pack(2)
45 #endif
46 
56  typedef struct ICDHeader ICDHeader;
57  typedef CALLBACK_API_C(void, ICDCompletion)(ICDHeader *pb);
61  struct ICDHeader
62  {
63  OSErr err; /* --> */
64  UInt32 refcon; /* <-- */
65  };
66 
71  {
73 
74  ICAObject parentObject; /* <-- */
75  ICAObjectInfo objectInfo; /* <-- */
76 
77  ICAObject object; /* --> */
78  };
79  typedef struct ICD_NewObjectPB ICD_NewObjectPB;
81  {
83 
84  ICAObject object; /* <-- */
85  };
91  {
93 
94  ICAObject object; /* <-- */
95  ICAPropertyInfo propertyInfo; /* <-- */
96 
97  ICAProperty property; /* --> */
98  };
99  typedef struct ICD_NewPropertyPB ICD_NewPropertyPB;
101  {
103 
104  ICAProperty property; /* <-- */
105  };
125  OSErr
126  ICDNewObject(ICD_NewObjectPB *pb, ICDCompletion completion); /* can be NULL */
127 
136  OSErr
138  ICDCompletion completion); /* can be NULL */
139 
148  OSErr
150  ICDCompletion completion); /* can be NULL */
151 
160  OSErr
162  ICDCompletion completion); /* can be NULL */
163 
164 #if PRAGMA_STRUCT_ALIGN
165 #pragma options align = reset
166 #elif PRAGMA_STRUCT_PACKPUSH
167 #pragma pack(pop)
168 #elif PRAGMA_STRUCT_PACK
169 #pragma pack()
170 #endif
171 
172 #ifdef PRAGMA_IMPORT_OFF
173 #pragma import off
174 #elif PRAGMA_IMPORT
175 #pragma import reset
176 #endif
177 
178 #ifdef __cplusplus
179 }
180 #endif
181 
182 #endif /* __ICADEVICE__ */
General purpose Image Capture definitions.
OSErr ICDDisposeObject(ICD_DisposeObjectPB *pb, ICDCompletion completion)
OSErr ICDNewProperty(ICD_NewPropertyPB *pb, ICDCompletion completion)
OSErr ICDDisposeProperty(ICD_DisposePropertyPB *pb, ICDCompletion completion)
OSErr ICDNewObject(ICD_NewObjectPB *pb, ICDCompletion completion)
Definition: ATA.h:616
Definition: Components.h:266
Definition: ICAApplication.h:205
Definition: ICAApplication.h:211
Definition: ICADevice.h:62
Definition: ICADevice.h:81
Definition: ICADevice.h:101
Definition: ICADevice.h:71
Definition: ICADevice.h:91