414 lines
18 KiB
Modula-2
414 lines
18 KiB
Modula-2
#if 0
|
|
|
|
Microsoft Windows
|
|
Copyright (C) Microsoft Corporation, 1992 - 1992.
|
|
All rights reserved.
|
|
|
|
This .def file is preprocessed by the compiler to create the version for
|
|
the current build in the appropriate subdir. Basically, whatever you
|
|
would have used in your code to control what is compiled when can be
|
|
used in this file for the same purpose. The following defines are in
|
|
use at the time this file was written:
|
|
|
|
FLAT - Used to indicate a NT/DOS7 build
|
|
i386 - Intel i386/i486 build
|
|
MIPS - MIPS R3000/R4000 build
|
|
ALPHA - DEC Alpha build
|
|
DBG - Used to control Debug/Retail. Set to 1 if Debug,
|
|
0 if Retail.
|
|
WIN31 - Win16 build
|
|
__OS2__ - OS/2 build (used by CT mostly)
|
|
|
|
If none of these are used, it is assumed the entire file can be used
|
|
for all builds.
|
|
|
|
#endif
|
|
|
|
#ifdef FLAT
|
|
|
|
LIBRARY ole232
|
|
|
|
EXPORTS
|
|
|
|
#if defined (i386)
|
|
|
|
OleBuildVersion@0 @1
|
|
OleInitialize@4 @2
|
|
OleUninitialize@0 @3
|
|
DllGetClassObject@12 @4
|
|
DllGetClassObject=DllGetClassObject@12
|
|
;; Unused @5
|
|
OleQueryLinkFromData@4 @6
|
|
OleQueryCreateFromData@4 @7
|
|
OleCreateFromData@28 @8
|
|
OleCreateLinkFromData@28 @9
|
|
OleCreate@28 @10
|
|
OleCreateLink@28 @11
|
|
OleLoad@16 @12
|
|
OleSave@12 @13
|
|
OleRun@4 @14
|
|
;; Unused @15
|
|
OleIsRunning@4 @16
|
|
OleLockRunning@12 @17
|
|
ReadClassStg@8 @18
|
|
WriteClassStg@8 @19
|
|
ReadClassStm@8 @20
|
|
WriteClassStm@8 @21
|
|
;; BindMoniker@16 in compobj @22
|
|
;; MkParseDisplayName@16 in compboj @23
|
|
;; OleSaveToStream@8 in compobj @24
|
|
;; OleLoadFromStream@24 in compobj @25
|
|
;; CreateBindCtx@8 in compobj @26
|
|
;; CreateItemMoniker@12 in compobj @27
|
|
;; CreateFileMoniker@8 in compobj @28
|
|
;; CreateGenericComposite@12 in compobj @29
|
|
;; GetRunningObjectTable in compobj @30
|
|
OleGetMalloc@8 @31
|
|
ReleaseStgMedium@4 @32
|
|
ReadStringStream@8 @33
|
|
WriteStringStream@8 @34
|
|
RegisterDragDrop@8 @35
|
|
RevokeDragDrop@4 @36
|
|
DoDragDrop@16 @37
|
|
CreateOleAdviseHolder@4 @38
|
|
CreateDataAdviseHolder@4 @39
|
|
OleCreateMenuDescriptor@8 @40
|
|
OleSetMenuDescriptor@20 @41
|
|
OleDestroyMenuDescriptor@4 @42
|
|
OpenOrCreateStream@12 @43
|
|
;; CreateAntiMoniker@4 in compobj @44
|
|
IsAccelerator@16 @45
|
|
;; CreatePointerMoniker@8 in compobj @45
|
|
;; MonikerRelativePathTo@16 in compobj @46
|
|
;; CreateFileMonikerEx@12 in compobj @47
|
|
;; BUGBUG: CreateMemStm should vanish
|
|
;; CreateMemStm@8 is gone @48
|
|
OleSetClipboard@4 @49
|
|
OleGetClipboard@4 @50
|
|
OleDuplicateData@12 @51
|
|
OleGetIconOfFile@8 @52
|
|
OleGetIconOfClass@12 @53
|
|
CreateILockBytesOnHGlobal@12 @54
|
|
GetHGlobalFromILockBytes@8 @55
|
|
OleMetafilePictFromIconAndLabel@16 @56
|
|
;;GetClassFile@8 in compobj @57
|
|
OleDraw@16 @58
|
|
OleCreateDefaultHandler@16 @59
|
|
OleCreateEmbeddingHelper@24 @60
|
|
;; Unused @61
|
|
;; Unused @62
|
|
SetDocumentBitStg@8 @63
|
|
GetDocumentBitStg@4 @64
|
|
WriteOleStg@16 @65
|
|
ReadOleStg@24 @66
|
|
OleCreateFromFile@32 @67
|
|
OleCreateLinkToFile@28 @68
|
|
CreateDataCache@16 @69
|
|
OleConvertIStorageToOLESTREAM@8 @70
|
|
OleConvertOLESTREAMToIStorage@12 @71
|
|
OleConvertIStorageToOLESTREAMEx@28 @72
|
|
OleConvertOLESTREAMToIStorageEx@28 @73
|
|
ReadFmtUserTypeStg@12 @74
|
|
WriteFmtUserTypeStg@12 @75
|
|
OleFlushClipboard@0 @76
|
|
OleIsCurrentClipboard@4 @77
|
|
OleTranslateAccelerator@12 @78
|
|
OleDoAutoConvert@8 @79
|
|
OleGetAutoConvert@8 @80
|
|
OleSetAutoConvert@8 @81
|
|
GetConvertStg@4 @82
|
|
SetConvertStg@8 @83
|
|
CreateStreamOnHGlobal@12 @84
|
|
GetHGlobalFromStream@8 @85
|
|
OleSetContainedObject@8 @86
|
|
OleNoteObjectVisible@8 @87
|
|
OleCreateStaticFromData@28 @88
|
|
|
|
OleRegGetUserType@12 @89
|
|
OleRegGetMiscStatus@12 @90
|
|
OleRegEnumFormatEtc@12 @91
|
|
OleRegEnumVerbs@8 @92
|
|
OleGetEnumFormatEtc@8 @93 ; used internally
|
|
|
|
;; Multi-thread support
|
|
|
|
OleInitializeEx@8 @94
|
|
|
|
|
|
;; debug routines
|
|
|
|
MakeDebugStream@12 @100
|
|
;; Unused @101
|
|
;; Unused @102
|
|
;; Unused @103
|
|
DbgLogOpen@8 @104
|
|
DbgLogClose@4 @105
|
|
DbgLogOutputDebugString@8 @106
|
|
DbgLogWrite@8 @107
|
|
DbgLogTimeStamp@8 @108
|
|
DbgLogWriteBanner@8 @109
|
|
DbgDumpObject@8 @110
|
|
DbgIsObjectValid@4 @111
|
|
DbgDumpExternalObject@8 @112
|
|
;; Unused @113
|
|
DbgDumpClassName@4 @114
|
|
;; GetStandardTaskMalloc@4 @116
|
|
|
|
|
|
|
|
//////////////////////////// MIPS ////////////////////////////
|
|
|
|
#elif defined (_MIPS_)
|
|
|
|
OleBuildVersion @1
|
|
OleInitialize @2
|
|
OleUninitialize @3
|
|
DllGetClassObject @4
|
|
|
|
;; Unused @5
|
|
OleQueryLinkFromData @6
|
|
OleQueryCreateFromData @7
|
|
OleCreateFromData @8
|
|
OleCreateLinkFromData @9
|
|
OleCreate @10
|
|
OleCreateLink @11
|
|
OleLoad @12
|
|
OleSave @13
|
|
OleRun @14
|
|
;; Unused @15
|
|
OleIsRunning @16
|
|
OleLockRunning @17
|
|
ReadClassStg @18
|
|
WriteClassStg @19
|
|
ReadClassStm @20
|
|
WriteClassStm @21
|
|
;; BindMoniker in compobj @22
|
|
;; MkParseDisplayName in compobj @23
|
|
;; OleSaveToStream in compobj @24
|
|
;; OleLoadFromStream in compobj @25
|
|
;; CreateBindCtx in compobj @26
|
|
;; CreateItemMoniker in compobj @27
|
|
;; CreateFileMoniker in compobj @28
|
|
;; CreateGenericComposite in compobj @29
|
|
;; GetRunningObjectTable in compobj @30
|
|
OleGetMalloc @31
|
|
ReleaseStgMedium @32
|
|
ReadStringStream @33
|
|
WriteStringStream @34
|
|
RegisterDragDrop @35
|
|
RevokeDragDrop @36
|
|
DoDragDrop @37
|
|
CreateOleAdviseHolder @38
|
|
CreateDataAdviseHolder @39
|
|
OleCreateMenuDescriptor @40
|
|
OleSetMenuDescriptor @41
|
|
OleDestroyMenuDescriptor @42
|
|
OpenOrCreateStream @43
|
|
IsAccelerator @44
|
|
;; CreateAntiMoniker in compobj @44
|
|
;; CreatePointerMoniker in compobj @45
|
|
;; MonikerRelativePathTo in compobj @46
|
|
;; CreateFileMonikerEx in compobj @47
|
|
;; BUGBUG: CreateMemStm should vanish
|
|
;; CreateMemStm is gone @48
|
|
OleSetClipboard @49
|
|
OleGetClipboard @50
|
|
OleDuplicateData @51
|
|
OleGetIconOfFile @52
|
|
OleGetIconOfClass @53
|
|
CreateILockBytesOnHGlobal @54
|
|
GetHGlobalFromILockBytes @55
|
|
OleMetafilePictFromIconAndLabel @56
|
|
;;GetClassFile in compobj @57
|
|
OleDraw @58
|
|
OleCreateDefaultHandler @59
|
|
OleCreateEmbeddingHelper @60
|
|
;; Unused @61
|
|
;; Unused @62
|
|
SetDocumentBitStg @63
|
|
GetDocumentBitStg @64
|
|
WriteOleStg @65
|
|
ReadOleStg @66
|
|
OleCreateFromFile @67
|
|
OleCreateLinkToFile @68
|
|
CreateDataCache @69
|
|
OleConvertIStorageToOLESTREAM @70
|
|
OleConvertOLESTREAMToIStorage @71
|
|
OleConvertIStorageToOLESTREAMEx @72
|
|
OleConvertOLESTREAMToIStorageEx @73
|
|
ReadFmtUserTypeStg @74
|
|
WriteFmtUserTypeStg @75
|
|
OleFlushClipboard @76
|
|
OleIsCurrentClipboard @77
|
|
OleTranslateAccelerator @78
|
|
OleDoAutoConvert @79
|
|
OleGetAutoConvert @80
|
|
OleSetAutoConvert @81
|
|
GetConvertStg @82
|
|
SetConvertStg @83
|
|
CreateStreamOnHGlobal @84
|
|
GetHGlobalFromStream @85
|
|
OleSetContainedObject @86
|
|
OleNoteObjectVisible @87
|
|
OleCreateStaticFromData @88
|
|
|
|
OleRegGetUserType @89
|
|
OleRegGetMiscStatus @90
|
|
OleRegEnumFormatEtc @91
|
|
OleRegEnumVerbs @92
|
|
OleGetEnumFormatEtc @93 ; used internally
|
|
|
|
;; Multi-thread support
|
|
|
|
OleInitializeEx @94
|
|
|
|
|
|
;; debug routines
|
|
|
|
MakeDebugStream @100
|
|
;; Unused @101
|
|
;; Unused @102
|
|
;; Unused @103
|
|
DbgLogOpen @104
|
|
DbgLogClose @105
|
|
DbgLogOutputDebugString @106
|
|
DbgLogWrite @107
|
|
DbgLogTimeStamp @108
|
|
DbgLogWriteBanner @109
|
|
DbgDumpObject @110
|
|
DbgIsObjectValid @111
|
|
DbgDumpExternalObject @112
|
|
;; Unused @113
|
|
DbgDumpClassName @114
|
|
;; GetStandardTaskMalloc @116
|
|
|
|
//////////////////////////// PPC ////////////////////////////
|
|
|
|
#elif defined (_PPC_)
|
|
|
|
OleBuildVersion @1
|
|
OleInitialize @2
|
|
OleUninitialize @3
|
|
DllGetClassObject @4
|
|
|
|
;; Unused @5
|
|
OleQueryLinkFromData @6
|
|
OleQueryCreateFromData @7
|
|
OleCreateFromData @8
|
|
OleCreateLinkFromData @9
|
|
OleCreate @10
|
|
OleCreateLink @11
|
|
OleLoad @12
|
|
OleSave @13
|
|
OleRun @14
|
|
;; Unused @15
|
|
OleIsRunning @16
|
|
OleLockRunning @17
|
|
ReadClassStg @18
|
|
WriteClassStg @19
|
|
ReadClassStm @20
|
|
WriteClassStm @21
|
|
;; BindMoniker in compobj @22
|
|
;; MkParseDisplayName in compobj @23
|
|
;; OleSaveToStream in compobj @24
|
|
;; OleLoadFromStream in compobj @25
|
|
;; CreateBindCtx in compobj @26
|
|
;; CreateItemMoniker in compobj @27
|
|
;; CreateFileMoniker in compobj @28
|
|
;; CreateGenericComposite in compobj @29
|
|
;; GetRunningObjectTable in compobj @30
|
|
OleGetMalloc @31
|
|
ReleaseStgMedium @32
|
|
ReadStringStream @33
|
|
WriteStringStream @34
|
|
RegisterDragDrop @35
|
|
RevokeDragDrop @36
|
|
DoDragDrop @37
|
|
CreateOleAdviseHolder @38
|
|
CreateDataAdviseHolder @39
|
|
OleCreateMenuDescriptor @40
|
|
OleSetMenuDescriptor @41
|
|
OleDestroyMenuDescriptor @42
|
|
OpenOrCreateStream @43
|
|
IsAccelerator @44
|
|
;; CreateAntiMoniker in compobj @44
|
|
;; CreatePointerMoniker in compobj @45
|
|
;; MonikerRelativePathTo in compobj @46
|
|
;; CreateFileMonikerEx in compobj @47
|
|
;; BUGBUG: CreateMemStm should vanish
|
|
;; CreateMemStm is gone @48
|
|
OleSetClipboard @49
|
|
OleGetClipboard @50
|
|
OleDuplicateData @51
|
|
OleGetIconOfFile @52
|
|
OleGetIconOfClass @53
|
|
CreateILockBytesOnHGlobal @54
|
|
GetHGlobalFromILockBytes @55
|
|
OleMetafilePictFromIconAndLabel @56
|
|
;;GetClassFile in compobj @57
|
|
OleDraw @58
|
|
OleCreateDefaultHandler @59
|
|
OleCreateEmbeddingHelper @60
|
|
;; Unused @61
|
|
;; Unused @62
|
|
SetDocumentBitStg @63
|
|
GetDocumentBitStg @64
|
|
WriteOleStg @65
|
|
ReadOleStg @66
|
|
OleCreateFromFile @67
|
|
OleCreateLinkToFile @68
|
|
CreateDataCache @69
|
|
OleConvertIStorageToOLESTREAM @70
|
|
OleConvertOLESTREAMToIStorage @71
|
|
OleConvertIStorageToOLESTREAMEx @72
|
|
OleConvertOLESTREAMToIStorageEx @73
|
|
ReadFmtUserTypeStg @74
|
|
WriteFmtUserTypeStg @75
|
|
OleFlushClipboard @76
|
|
OleIsCurrentClipboard @77
|
|
OleTranslateAccelerator @78
|
|
OleDoAutoConvert @79
|
|
OleGetAutoConvert @80
|
|
OleSetAutoConvert @81
|
|
GetConvertStg @82
|
|
SetConvertStg @83
|
|
CreateStreamOnHGlobal @84
|
|
GetHGlobalFromStream @85
|
|
OleSetContainedObject @86
|
|
OleNoteObjectVisible @87
|
|
OleCreateStaticFromData @88
|
|
|
|
OleRegGetUserType @89
|
|
OleRegGetMiscStatus @90
|
|
OleRegEnumFormatEtc @91
|
|
OleRegEnumVerbs @92
|
|
OleGetEnumFormatEtc @93 ; used internally
|
|
|
|
;; Multi-thread support
|
|
|
|
OleInitializeEx @94
|
|
|
|
|
|
;; debug routines
|
|
|
|
MakeDebugStream @100
|
|
;; Unused @101
|
|
;; Unused @102
|
|
;; Unused @103
|
|
DbgLogOpen @104
|
|
DbgLogClose @105
|
|
DbgLogOutputDebugString @106
|
|
DbgLogWrite @107
|
|
DbgLogTimeStamp @108
|
|
DbgLogWriteBanner @109
|
|
DbgDumpObject @110
|
|
DbgIsObjectValid @111
|
|
DbgDumpExternalObject @112
|
|
;; Unused @113
|
|
DbgDumpClassName @114
|
|
;; GetStandardTaskMalloc @116
|
|
|
|
#endif // i386 - MIPS - PPC
|
|
|
|
#endif // FLAT
|