Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

633 lines
16 KiB

  1. #if 0
  2. Microsoft Windows
  3. Copyright (C) Microsoft Corporation, 1992 - 1992.
  4. All rights reserved.
  5. This .def file is preprocessed by the compiler to create the version for
  6. the current build in the appropriate subdir. Basically, whatever you
  7. would have used in your code to control what is compiled when can be
  8. used in this file for the same purpose. The following defines are in
  9. use at the time this file was written:
  10. FLAT - Used to indicate a NT/DOS7 build
  11. i386 - Intel i386/i486 build
  12. MIPS - MIPS R3000/R4000 build
  13. ALPHA - DEC Alpha build
  14. PPC - PowerPC build
  15. DBG - Used to control Debug/Retail. Set to 1 if Debug,
  16. 0 if Retail.
  17. WIN31 - Win16 build
  18. __OS2__ - OS/2 build (used by CT mostly)
  19. If none of these are used, it is assumed the entire file can be used
  20. for all builds.
  21. #endif
  22. LIBRARY ole32
  23. #if 0
  24. DESCRIPTION 'Microsoft (R) Component OLE 2.0 Base DLL 1.00'
  25. #endif
  26. #if defined(_CHICAGO_)
  27. ;
  28. ; No security under Win95, take advantage of shared data segments.
  29. ;
  30. SECTIONS
  31. .sdata READ WRITE SHARED
  32. #endif
  33. #ifdef EXPORT_PRIVATE_API
  34. #define PRIVATE_API
  35. #else
  36. #define PRIVATE_API PRIVATE
  37. #endif
  38. EXPORTS
  39. OleBuildVersion=CoBuildVersion
  40. OleInitialize
  41. OleInitializeWOW
  42. OleUninitialize
  43. DllGetClassObject PRIVATE
  44. DllGetClassObjectWOW=DllGetClassObject
  45. OleQueryLinkFromData
  46. OleQueryCreateFromData
  47. OleCreateFromData
  48. OleCreateFromDataEx
  49. OleCreateLinkFromData
  50. OleCreateLinkFromDataEx
  51. OleCreate
  52. OleCreateEx
  53. OleCreateLink
  54. OleCreateLinkEx
  55. OleLoad
  56. OleSave
  57. OleRun
  58. OleIsRunning
  59. OleLockRunning
  60. ReadClassStg
  61. WriteClassStg
  62. ReadClassStm
  63. WriteClassStm
  64. ReleaseStgMedium
  65. ReadStringStream
  66. WriteStringStream
  67. RegisterDragDrop
  68. RevokeDragDrop
  69. DoDragDrop
  70. CreateOleAdviseHolder
  71. CreateDataAdviseHolder
  72. OleCreateMenuDescriptor
  73. OleSetMenuDescriptor
  74. OleDestroyMenuDescriptor
  75. OpenOrCreateStream
  76. IsAccelerator
  77. OleSetClipboard
  78. OleGetClipboard
  79. OleDuplicateData
  80. OleGetIconOfFile
  81. OleGetIconOfClass
  82. CreateILockBytesOnHGlobal
  83. GetHGlobalFromILockBytes
  84. OleMetafilePictFromIconAndLabel
  85. OleDraw
  86. OleCreateDefaultHandler
  87. OleCreateEmbeddingHelper
  88. SetDocumentBitStg
  89. GetDocumentBitStg
  90. WriteOleStg
  91. ReadOleStg
  92. OleCreateFromFile
  93. OleCreateFromFileEx
  94. OleCreateLinkToFile
  95. OleCreateLinkToFileEx
  96. CreateDataCache
  97. OleConvertIStorageToOLESTREAM
  98. OleConvertOLESTREAMToIStorage
  99. OleConvertIStorageToOLESTREAMEx
  100. OleConvertOLESTREAMToIStorageEx
  101. ReadFmtUserTypeStg
  102. WriteFmtUserTypeStg
  103. OleFlushClipboard
  104. OleIsCurrentClipboard
  105. OleTranslateAccelerator
  106. OleDoAutoConvert
  107. OleGetAutoConvert
  108. OleSetAutoConvert
  109. GetConvertStg
  110. SetConvertStg
  111. CreateStreamOnHGlobal
  112. GetHGlobalFromStream
  113. OleSetContainedObject
  114. OleNoteObjectVisible
  115. OleCreateStaticFromData
  116. OleRegGetUserType
  117. OleRegGetMiscStatus
  118. OleRegEnumFormatEtc
  119. OleRegEnumVerbs
  120. CoTaskMemAlloc
  121. CoTaskMemRealloc
  122. CoTaskMemFree
  123. PropVariantClear
  124. PropVariantCopy
  125. FreePropVariantArray
  126. CoBuildVersion
  127. CoInitialize
  128. CoInitializeWOW
  129. CoUnloadingWOW
  130. CoUninitialize
  131. CoGetMalloc
  132. CoRegisterMallocSpy
  133. CoRevokeMallocSpy
  134. CoCreateGuid
  135. CoMarshalInterface
  136. CoUnmarshalInterface
  137. CoReleaseMarshalData
  138. CoGetStandardMarshal
  139. CoGetMarshalSizeMax
  140. CoMarshalHresult
  141. CoUnmarshalHresult
  142. CoRegisterClassObject
  143. CoRevokeClassObject
  144. CoGetClassObject
  145. CoCreateInstance
  146. CoDisconnectObject
  147. CoLockObjectExternal
  148. CoLoadLibrary
  149. CoFreeLibrary
  150. CoFreeAllLibraries
  151. CoFreeUnusedLibraries
  152. CoFreeUnusedLibrariesEx
  153. CoRegisterMessageFilter
  154. CoFileTimeToDosDateTime
  155. CoDosDateTimeToFileTime
  156. GetRunningObjectTable
  157. CoIsOle1Class
  158. CoTreatAsClass
  159. CoGetTreatAsClass
  160. CoGetCurrentProcess
  161. IsEqualGUID
  162. StringFromCLSID
  163. CLSIDFromString
  164. ProgIDFromCLSID
  165. CLSIDFromProgID
  166. StringFromGUID2
  167. IsValidPtrIn
  168. IsValidPtrOut
  169. IsValidInterface
  170. IsValidIid
  171. CoGetState
  172. CoSetState
  173. CoGetCallerTID
  174. CoGetCurrentLogicalThreadId
  175. CoGetClassVersion
  176. #ifdef DCOM
  177. CoRegisterChannelHook
  178. CoRegisterSurrogate
  179. CoRegisterSurrogateEx
  180. CoGetStdMarshalEx
  181. CoGetCancelObject
  182. CoSetCancelObject
  183. CoCancelCall
  184. CoTestCancel
  185. CoWaitForMultipleHandles
  186. CoEnableCallCancellation
  187. CoDisableCallCancellation
  188. #endif
  189. #ifdef DCOM_SECURITY
  190. CoInitializeSecurity
  191. CoGetCallContext
  192. CoQueryProxyBlanket
  193. CoSetProxyBlanket
  194. CoCopyProxy
  195. CoQueryClientBlanket
  196. CoImpersonateClient
  197. CoRevertToSelf
  198. CoQueryAuthenticationServices
  199. CoSwitchCallContext
  200. #endif
  201. CoGetObjectContext
  202. CoGetDefaultContext
  203. CoCreateObjectInContext
  204. CoDeactivateObject
  205. CoReactivateObject
  206. CoAllowSetForegroundWindow
  207. CoIsHandlerConnected
  208. CoFileTimeNow
  209. CoGetObject
  210. BindMoniker
  211. MkParseDisplayName
  212. CreateBindCtx
  213. CreateItemMoniker
  214. CreateFileMoniker
  215. #ifdef _CAIRO_
  216. CreateFileMonikerEx
  217. #endif
  218. CreateGenericComposite
  219. CreateAntiMoniker
  220. CreatePointerMoniker
  221. CreateClassMoniker
  222. CreateObjrefMoniker
  223. MonikerRelativePathTo
  224. GetClassFile
  225. OleSaveToStream
  226. OleLoadFromStream
  227. MonikerCommonPrefixWith
  228. CoQueryReleaseObject
  229. StgCreateDocfile
  230. StgCreateDocfileOnILockBytes
  231. StgOpenStorage
  232. StgOpenStorageOnILockBytes
  233. StgIsStorageFile
  234. StgIsStorageILockBytes
  235. StgSetTimes
  236. StgOpenAsyncDocfileOnIFillLockBytes
  237. StgGetIFillLockBytesOnILockBytes
  238. StgGetIFillLockBytesOnFile
  239. StgCreatePropSetStg
  240. StgCreatePropStg
  241. StgOpenPropStg
  242. #ifndef _CHICAGO_
  243. StgConvertVariantToProperty
  244. StgConvertPropertyToVariant
  245. StgPropertyLengthAsVariant
  246. StgOpenStorageOnHandle PRIVATE
  247. PropVariantChangeType PRIVATE
  248. #endif
  249. FmtIdToPropStgName
  250. PropStgNameToFmtId
  251. PropSysAllocString
  252. PropSysFreeString
  253. CoInitializeEx
  254. #ifdef _CAIRO_
  255. CoGetPersistentInstance
  256. CoGetPersistentInstanceEx
  257. StgCreateStorage
  258. #endif // _CAIRO_
  259. #ifndef _CHICAGO_
  260. StgCreateStorageEx
  261. StgOpenStorageEx
  262. #endif
  263. #ifdef _CAIRO_
  264. StgIsStorage
  265. OleInitializeEx
  266. DfIsDocfile
  267. OleGetTransactionDispenser
  268. #endif // _CAIRO_
  269. #ifdef DCOM
  270. CoGetInstanceFromFile
  271. CoGetInstanceFromIStorage
  272. CoCreateInstanceEx
  273. UpdateDCOMSettings
  274. CoRegisterPSClsid
  275. CoAddRefServerProcess
  276. CoReleaseServerProcess
  277. CoSuspendClassObjects
  278. CoResumeClassObjects
  279. #endif
  280. DllDebugObjectRPCHook
  281. StringFromIID
  282. IIDFromString
  283. CoGetPSClsid
  284. #ifdef _CAIRO_
  285. SerializeToStream
  286. DeserializeFromStream
  287. SerializeSizeMax
  288. #endif
  289. #if DBG == 1
  290. DumpADVFFlags PRIVATE_API
  291. DumpATOM PRIVATE_API
  292. DumpCLSID PRIVATE_API
  293. DumpCLIPFORMAT PRIVATE_API
  294. DumpCMutexSem PRIVATE_API
  295. DumpDVASPECTFlags PRIVATE_API
  296. DumpFILETIME PRIVATE_API
  297. DumpHRESULT PRIVATE_API
  298. DumpWIN32Error PRIVATE_API
  299. DumpCClipDataObject PRIVATE_API
  300. DumpCDAHolder PRIVATE_API
  301. DumpCDataAdviseCache PRIVATE_API
  302. DumpCDefClassFactory PRIVATE_API
  303. DumpCDefLink PRIVATE_API
  304. DumpCDefObject PRIVATE_API
  305. DumpCEMfObject PRIVATE_API
  306. DumpCEnumFmt PRIVATE_API
  307. DumpCEnumFmt10 PRIVATE_API
  308. DumpCEnumSTATDATA PRIVATE_API
  309. DumpCEnumVerb PRIVATE_API
  310. DumpCGenObject PRIVATE_API
  311. DumpCMapDwordDword PRIVATE_API
  312. DumpCMemBytes PRIVATE_API
  313. DumpCMemStm PRIVATE_API
  314. DumpCMfObject PRIVATE_API
  315. DumpCOAHolder PRIVATE_API
  316. DumpCThreadCheck PRIVATE_API
  317. DumpFORMATETC PRIVATE_API
  318. DumpMEMSTM PRIVATE_API
  319. DumpSTATDATA PRIVATE_API
  320. DumpSTGMEDIUM PRIVATE_API
  321. #ifndef _CHICAGO_
  322. DfDebug PRIVATE_API
  323. DfSetResLimit PRIVATE_API
  324. DfGetResLimit PRIVATE_API
  325. DfSetFailureType PRIVATE_API
  326. DfGetMemAlloced PRIVATE_API
  327. DfPrintAllocs PRIVATE_API
  328. #endif
  329. DbgLogOpen PRIVATE_API
  330. DbgLogClose PRIVATE_API
  331. DbgLogOutputDebugString PRIVATE_API
  332. DbgLogWrite PRIVATE_API
  333. DbgLogTimeStamp PRIVATE_API
  334. DbgLogWriteBanner PRIVATE_API
  335. DbgDumpObject PRIVATE_API
  336. DbgIsObjectValid PRIVATE_API
  337. DbgDumpExternalObject PRIVATE_API
  338. DbgDumpClassName PRIVATE_API
  339. MakeDebugStream PRIVATE_API
  340. Dbg_FindRemoteHdlr PRIVATE_API
  341. DbgDllSetSiftObject PRIVATE_API
  342. #ifndef _CHICAGO_
  343. StgGetDebugFileLockBytes PRIVATE_API
  344. #endif
  345. #endif // DBG == 1
  346. #ifdef TRACELOG
  347. #if defined(i386)
  348. ??0CTraceCall@@QAE@KPAD@Z PRIVATE_API
  349. ??1CTraceCall@@QAE@XZ PRIVATE_API
  350. StartTrace PRIVATE_API
  351. StopTrace PRIVATE_API
  352. #else // i386
  353. #error TraceLogs not defined for MIPS or Alpha or PPC- Rickhi
  354. #endif // MIPS | ALPHA | PPC
  355. #endif // TRACELOG
  356. #if DBG==1 && defined(_NT1X_) && defined(GLOBALDBG)
  357. GlobalAlloc=UtGlobalAlloc PRIVATE_API
  358. GlobalFree=UtGlobalFree PRIVATE_API
  359. GlobalReAlloc=UtGlobalReAlloc PRIVATE_API
  360. GlobalLock=UtGlobalLock PRIVATE_API
  361. GlobalUnlock=UtGlobalUnlock PRIVATE_API
  362. #endif // DBG==1 && defined(_NT1X_) && defined(GLOBALDBG)
  363. ;; Utility functions exported for olethk32.dll
  364. UtGetDvtd16Info
  365. UtConvertDvtd16toDvtd32
  366. UtGetDvtd32Info
  367. UtConvertDvtd32toDvtd16
  368. #if DBG==1
  369. ;; DBG Utility functions exported for olethk32.dll
  370. UtGlobalAlloc PRIVATE_API
  371. UtGlobalFree PRIVATE_API
  372. UtGlobalReAlloc PRIVATE_API
  373. UtGlobalLock PRIVATE_API
  374. UtGlobalUnlock PRIVATE_API
  375. #endif
  376. CoMarshalInterThreadInterfaceInStream
  377. CoGetInterfaceAndReleaseStream
  378. CoCreateFreeThreadedMarshaler
  379. ;; Entry points for HookOle
  380. EnableHookObject
  381. GetHookInterface
  382. HkOleRegisterObject
  383. ;
  384. ; Debug support routines previously in commnot.
  385. ;
  386. #if DBG == 1
  387. Win4AssertEx PRIVATE_API
  388. vdprintf PRIVATE_API
  389. CallOutputFunctions PRIVATE_API
  390. CoGetAssertConfig PRIVATE_API
  391. #endif
  392. ;
  393. ; Windows data types support via user marshal
  394. ;
  395. SNB_UserSize
  396. SNB_UserMarshal
  397. SNB_UserUnmarshal
  398. SNB_UserFree
  399. CLIPFORMAT_UserSize
  400. CLIPFORMAT_UserMarshal
  401. CLIPFORMAT_UserUnmarshal
  402. CLIPFORMAT_UserFree
  403. HWND_UserSize
  404. HWND_UserMarshal
  405. HWND_UserUnmarshal
  406. HWND_UserFree
  407. HMENU_UserSize
  408. HMENU_UserMarshal
  409. HMENU_UserUnmarshal
  410. HMENU_UserFree
  411. HACCEL_UserSize
  412. HACCEL_UserMarshal
  413. HACCEL_UserUnmarshal
  414. HACCEL_UserFree
  415. HBRUSH_UserSize
  416. HBRUSH_UserMarshal
  417. HBRUSH_UserUnmarshal
  418. HBRUSH_UserFree
  419. HBITMAP_UserSize
  420. HBITMAP_UserMarshal
  421. HBITMAP_UserUnmarshal
  422. HBITMAP_UserFree
  423. HICON_UserSize
  424. HICON_UserMarshal
  425. HICON_UserUnmarshal
  426. HICON_UserFree
  427. HDC_UserSize
  428. HDC_UserMarshal
  429. HDC_UserUnmarshal
  430. HDC_UserFree
  431. HPALETTE_UserSize
  432. HPALETTE_UserMarshal
  433. HPALETTE_UserUnmarshal
  434. HPALETTE_UserFree
  435. HGLOBAL_UserSize
  436. HGLOBAL_UserMarshal
  437. HGLOBAL_UserUnmarshal
  438. HGLOBAL_UserFree
  439. HMETAFILE_UserSize
  440. HMETAFILE_UserMarshal
  441. HMETAFILE_UserUnmarshal
  442. HMETAFILE_UserFree
  443. HENHMETAFILE_UserSize
  444. HENHMETAFILE_UserMarshal
  445. HENHMETAFILE_UserUnmarshal
  446. HENHMETAFILE_UserFree
  447. HMETAFILEPICT_UserSize
  448. HMETAFILEPICT_UserMarshal
  449. HMETAFILEPICT_UserUnmarshal
  450. HMETAFILEPICT_UserFree
  451. STGMEDIUM_UserSize
  452. STGMEDIUM_UserMarshal
  453. STGMEDIUM_UserUnmarshal
  454. STGMEDIUM_UserFree
  455. WdtpInterfacePointer_UserSize
  456. WdtpInterfacePointer_UserMarshal
  457. WdtpInterfacePointer_UserUnmarshal
  458. WdtpInterfacePointer_UserFree
  459. #if defined(_WIN64)
  460. ;
  461. ; Windows data types support via user marshal for NDR64
  462. ;
  463. SNB_UserSize64
  464. SNB_UserMarshal64
  465. SNB_UserUnmarshal64
  466. SNB_UserFree64
  467. CLIPFORMAT_UserSize64
  468. CLIPFORMAT_UserMarshal64
  469. CLIPFORMAT_UserUnmarshal64
  470. CLIPFORMAT_UserFree64
  471. HWND_UserSize64
  472. HWND_UserMarshal64
  473. HWND_UserUnmarshal64
  474. HWND_UserFree64
  475. HMENU_UserSize64
  476. HMENU_UserMarshal64
  477. HMENU_UserUnmarshal64
  478. HMENU_UserFree64
  479. HACCEL_UserSize64
  480. HACCEL_UserMarshal64
  481. HACCEL_UserUnmarshal64
  482. HACCEL_UserFree64
  483. HBRUSH_UserSize64
  484. HBRUSH_UserMarshal64
  485. HBRUSH_UserUnmarshal64
  486. HBRUSH_UserFree64
  487. HBITMAP_UserSize64
  488. HBITMAP_UserMarshal64
  489. HBITMAP_UserUnmarshal64
  490. HBITMAP_UserFree64
  491. HICON_UserSize64
  492. HICON_UserMarshal64
  493. HICON_UserUnmarshal64
  494. HICON_UserFree64
  495. HDC_UserSize64
  496. HDC_UserMarshal64
  497. HDC_UserUnmarshal64
  498. HDC_UserFree64
  499. HPALETTE_UserSize64
  500. HPALETTE_UserMarshal64
  501. HPALETTE_UserUnmarshal64
  502. HPALETTE_UserFree64
  503. HGLOBAL_UserSize64
  504. HGLOBAL_UserMarshal64
  505. HGLOBAL_UserUnmarshal64
  506. HGLOBAL_UserFree64
  507. HMETAFILE_UserSize64
  508. HMETAFILE_UserMarshal64
  509. HMETAFILE_UserUnmarshal64
  510. HMETAFILE_UserFree64
  511. HENHMETAFILE_UserSize64
  512. HENHMETAFILE_UserMarshal64
  513. HENHMETAFILE_UserUnmarshal64
  514. HENHMETAFILE_UserFree64
  515. HMETAFILEPICT_UserSize64
  516. HMETAFILEPICT_UserMarshal64
  517. HMETAFILEPICT_UserUnmarshal64
  518. HMETAFILEPICT_UserFree64
  519. STGMEDIUM_UserSize64
  520. STGMEDIUM_UserMarshal64
  521. STGMEDIUM_UserUnmarshal64
  522. STGMEDIUM_UserFree64
  523. WdtpInterfacePointer_UserSize64
  524. WdtpInterfacePointer_UserMarshal64
  525. WdtpInterfacePointer_UserUnmarshal64
  526. WdtpInterfacePointer_UserFree64
  527. #endif // defined(_WIN64)
  528. #ifdef WX86OLE
  529. CoGetIIDFromMarshaledInterface
  530. Wx86LoadNotification
  531. #endif
  532. CreateErrorInfo=CoCreateErrorInfo PRIVATE
  533. GetErrorInfo=CoGetErrorInfo PRIVATE
  534. SetErrorInfo=CoSetErrorInfo PRIVATE
  535. #if 0 // ifdef _CHICAGO_
  536. I_RemoteMain PRIVATE
  537. #endif
  538. DllRegisterServer PRIVATE
  539. #ifdef DIRECTORY_SERVICE
  540. CoInstall
  541. CLSIDFromProgIDEx
  542. #endif
  543. CreateStdProgressIndicator
  544. CoGetApartmentID
  545. DcomChannelSetHResult
  546. CoInvalidateRemoteMachineBindings
  547. CoRetireServer
  548. CoGetProcessIdentifier
  549. CoGetContextToken
  550. CoRegisterInitializeSpy
  551. CoRevokeInitializeSpy
  552. ; I didn't want to export this, but I have to.
  553. CLSIDFromOle1Class PRIVATE
  554. ; Services without components private interfaces
  555. CoPushServiceDomain PRIVATE
  556. CoPopServiceDomain PRIVATE
  557. CoGetComCatalog=GetCatalogHelper PRIVATE
  558. ;
  559. ; JohnDoty: Incorporate TXFAUX.
  560. ; I'm not going to cut/n/paste stuff into here, 'cause
  561. ; This is already a pretty darn massive .DEF file.
  562. ;
  563. #ifndef __OLE32__
  564. #define __OLE32__
  565. #endif
  566. #include "..\com\txf\callframe\callframe.src"