windows-nt/Source/XPSP1/NT/com/ole32/stg/storage.def
2020-09-26 16:20:57 +08:00

59 lines
1.9 KiB
Modula-2

;//+-------------------------------------------------------------------------
;//
;// Microsoft Windows
;// Copyright (C) Microsoft Corporation, 1992 - 1993.
;//
;// File: storage.def
;//
;// Contents: storage.dll module definition file
;//
;// History: 23-Sep-92 DrewB Created from multiple def files
;// 09-Oct-92 AlexT Added HEAPSIZE to 16-bit definitions
;// 03-Feb-93 DrewB Changed docfile.def to storage.def
;//
;// Note: $(OLE)\storage.def is used for 16-bit builds
;// $(OLE)\storag32.def is used for non-Cairo 32-bit builds
;// $(COMMON)\ilib\storag32.def is used for Cairo 32-bit builds
;//
;//--------------------------------------------------------------------------
LIBRARY STORAGE
#ifndef WIN32
EXETYPE WINDOWS 3.1
CODE DISCARDABLE LOADONCALL MOVABLE SHARED
DATA LOADONCALL SINGLE MOVABLE
; HEAPSIZE is required for RETAIL 16-bit builds where
; we do some local allocations.
#if DBG == 0
HEAPSIZE 0
#else
HEAPSIZE 1024
#endif
EXPORTS
WEP @0 RESIDENTNAME
STGCREATEDOCFILE @1
STGCREATEDOCFILEONILOCKBYTES @2
STGOPENSTORAGE @3
STGOPENSTORAGEONILOCKBYTES @4
STGISSTORAGEFILE @5
STGISSTORAGEILOCKBYTES @6
STGSETTIMES @7
DLLGETCLASSOBJECT @103
#if DBG == 1
DFDEBUG @300
DFSETRESLIMIT @310
DFGETRESLIMIT @311
DFGETMEMALLOCED @302
DFPRINTALLOCS @303
#endif
#else
#error storage.def should only be used for 16-bit builds
#endif