home *** CD-ROM | disk | FTP | other *** search
-
- // ---------------------------------------------------------------------
- //
- // COMPMGR.H - QuickTime for Windows Component Header File
- //
- // Version 1.0
- //
- // (c) 1988-1993 Apple Computer, Inc. All Rights Reserved.
- //
- // ---------------------------------------------------------------------
-
-
- // Prevent multiple inclusion
- // --------------------------
- #ifndef __COMPMGR_H__
- #define __COMPMGR_H__
-
-
- // Support C++ Function Invocations
- // --------------------------------
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- // thngIdentifify CID interface constants
- // --------------------------------------
- #define CID_VERSION 0x00010000 // version of CID interface
- #define THING QTFOURCC('t','h','n','g') // ostype to identify components
-
-
- // Component Flags
- // ---------------
- #define cmpWantsRegisterMessage 0x80000000
-
-
- // Component Manager/Component interface structure through thngIdentify
- // --------------------------------------------------------------------
- typedef struct tagCID { // Hungarian: cid
- LONG lVersion; // version of thngIdentify interface
- short sComponentCount; // number of components within file
- LPCD lpcdTable; // pointer to ComponentDescription records
- FIXUPFUNC lpfnTBFixup; // pointer to Toolbox entry point fixup
- FIXUPFUNC lpfnCMFixup; // pointer to CM entry point fixup
- } CID, FAR *LPCID;
-
-
- // Component Selectors
- // -------------------
- #define kComponentOpenSelect -1 // mandatory
- #define kComponentCloseSelect -2 // mandatory
- #define kComponentCanDoSelect -3 // mandatory
- #define kComponentVersionSelect -4 // mandatory
- #define kComponentRegisterSelect -5 // optional
- #define kComponentTargetSelect -6 // optional
-
-
- // Stack offset for component functions
- // ------------------------------------
- typedef struct _tagSTKOFF_CMP {
- WORD words[3]; // words on stack from glue code
- } STKOFF_CMP;
-
-
- #ifdef __cplusplus
- } // extern "C"
- #endif
-
-
- #endif // __COMPMGR_H__
-