  ; ===========================================
  ; ole32.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF OLE32_INC
OLE32_INC equ <1>

BindMoniker PROTO :DWORD,:DWORD,:DWORD,:DWORD
CLIPFORMAT_UserFree PROTO :DWORD,:DWORD
CLIPFORMAT_UserMarshal PROTO :DWORD,:DWORD,:DWORD
CLIPFORMAT_UserSize PROTO :DWORD,:DWORD,:DWORD
CLIPFORMAT_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
CLSIDFromProgID PROTO :DWORD,:DWORD
CLSIDFromProgIDEx PROTO :DWORD,:DWORD
CLSIDFromString PROTO :DWORD,:DWORD
CoAddRefServerProcess PROTO 
CoAllowSetForegroundWindow PROTO :DWORD,:DWORD
CoBuildVersion PROTO 
CoCancelCall PROTO :DWORD,:DWORD
CoCopyProxy PROTO :DWORD,:DWORD
CoCreateFreeThreadedMarshaler PROTO :DWORD,:DWORD
CoCreateGuid PROTO :DWORD
CoCreateInstance PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoCreateInstanceEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoCreateObjectInContext PROTO :DWORD,:DWORD,:DWORD,:DWORD
CoDeactivateObject PROTO :DWORD,:DWORD
CoDisableCallCancellation PROTO :DWORD
CoDisconnectObject PROTO :DWORD,:DWORD
CoDosDateTimeToFileTime PROTO :DWORD,:DWORD,:DWORD
CoEnableCallCancellation PROTO :DWORD
CoFileTimeNow PROTO :DWORD
CoFileTimeToDosDateTime PROTO :DWORD,:DWORD,:DWORD
CoFreeAllLibraries PROTO 
CoFreeLibrary PROTO :DWORD
CoFreeUnusedLibraries PROTO 
CoGetApartmentID PROTO :DWORD,:DWORD
CoGetCallContext PROTO :DWORD,:DWORD
CoGetCallerTID PROTO :DWORD
CoGetCancelObject PROTO :DWORD,:DWORD,:DWORD
CoGetClassObject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoGetClassVersion PROTO :DWORD,:DWORD,:DWORD
CoGetCurrentLogicalThreadId PROTO :DWORD
CoGetCurrentProcess PROTO 
CoGetInstanceFromFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoGetInstanceFromIStorage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoGetInterfaceAndReleaseStream PROTO :DWORD,:DWORD,:DWORD
CoGetMalloc PROTO :DWORD,:DWORD
CoGetMarshalSizeMax PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoGetObject PROTO :DWORD,:DWORD,:DWORD,:DWORD
CoGetObjectContext PROTO :DWORD,:DWORD
CoGetPSClsid PROTO :DWORD,:DWORD
CoGetStandardMarshal PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoGetState PROTO :DWORD
CoGetStdMarshalEx PROTO :DWORD,:DWORD,:DWORD
CoGetTreatAsClass PROTO :DWORD,:DWORD
CoImpersonateClient PROTO 
CoInitialize PROTO :DWORD
CoInitializeEx PROTO :DWORD,:DWORD
CoInitializeSecurity PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoInitializeWOW PROTO :DWORD,:DWORD
CoInstall PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoIsHandlerConnected PROTO :DWORD
CoIsOle1Class PROTO :DWORD
CoLoadLibrary PROTO :DWORD,:DWORD
CoLockObjectExternal PROTO :DWORD,:DWORD,:DWORD
CoMarshalHresult PROTO :DWORD,:DWORD
CoMarshalInterThreadInterfaceInStream PROTO :DWORD,:DWORD,:DWORD
CoMarshalInterface PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoQueryAuthenticationServices PROTO :DWORD,:DWORD
CoQueryClientBlanket PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoQueryProxyBlanket PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoQueryReleaseObject PROTO :DWORD
CoReactivateObject PROTO :DWORD,:DWORD
CoRegisterChannelHook PROTO :DWORD,:DWORD
CoRegisterClassObject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoRegisterMallocSpy PROTO :DWORD
CoRegisterMessageFilter PROTO :DWORD,:DWORD
CoRegisterPSClsid PROTO :DWORD,:DWORD
CoRegisterSurrogate PROTO :DWORD
CoRegisterSurrogateEx PROTO :DWORD,:DWORD
CoReleaseMarshalData PROTO :DWORD
CoReleaseServerProcess PROTO 
CoResumeClassObjects PROTO 
CoRevertToSelf PROTO 
CoRevokeClassObject PROTO :DWORD
CoRevokeMallocSpy PROTO 
CoSetCancelObject PROTO :DWORD
CoSetProxyBlanket PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoSetState PROTO :DWORD
CoSuspendClassObjects PROTO 
CoSwitchCallContext PROTO :DWORD,:DWORD
CoTaskMemAlloc PROTO :DWORD
CoTaskMemFree PROTO :DWORD
CoTaskMemRealloc PROTO :DWORD,:DWORD
CoTestCancel PROTO 
CoTreatAsClass PROTO :DWORD,:DWORD
CoUninitialize PROTO 
CoUnloadingWOW PROTO :DWORD
CoUnmarshalHresult PROTO :DWORD,:DWORD
CoUnmarshalInterface PROTO :DWORD,:DWORD,:DWORD
CoWaitForMultipleHandles PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateAntiMoniker PROTO :DWORD
CreateBindCtx PROTO :DWORD,:DWORD
CreateClassMoniker PROTO :DWORD,:DWORD
CreateDataAdviseHolder PROTO :DWORD
CreateDataCache PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateFileMoniker PROTO :DWORD,:DWORD
CreateGenericComposite PROTO :DWORD,:DWORD,:DWORD
CreateILockBytesOnHGlobal PROTO :DWORD,:DWORD,:DWORD
CreateItemMoniker PROTO :DWORD,:DWORD,:DWORD
CreateObjrefMoniker PROTO :DWORD,:DWORD
CreateOleAdviseHolder PROTO :DWORD
CreatePointerMoniker PROTO :DWORD,:DWORD
CreateStdProgressIndicator PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateStreamOnHGlobal PROTO :DWORD,:DWORD,:DWORD
DcomChannelSetHResult PROTO :DWORD,:DWORD,:DWORD
DllDebugObjectRPCHook PROTO :DWORD,:DWORD
DllGetClassObjectWOW PROTO :DWORD,:DWORD,:DWORD
DoDragDrop PROTO :DWORD,:DWORD,:DWORD,:DWORD
EnableHookObject PROTO :DWORD,:DWORD
FmtIdToPropStgName PROTO :DWORD,:DWORD
FreePropVariantArray PROTO :DWORD,:DWORD
GetClassFile PROTO :DWORD,:DWORD
GetConvertStg PROTO :DWORD
GetDocumentBitStg PROTO :DWORD
GetHGlobalFromILockBytes PROTO :DWORD,:DWORD
GetHGlobalFromStream PROTO :DWORD,:DWORD
GetHookInterface PROTO :DWORD
GetRunningObjectTable PROTO :DWORD,:DWORD
HACCEL_UserFree PROTO :DWORD,:DWORD
HACCEL_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HACCEL_UserSize PROTO :DWORD,:DWORD,:DWORD
HACCEL_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HBITMAP_UserFree PROTO :DWORD,:DWORD
HBITMAP_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HBITMAP_UserSize PROTO :DWORD,:DWORD,:DWORD
HBITMAP_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HBRUSH_UserFree PROTO :DWORD,:DWORD
HBRUSH_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HBRUSH_UserSize PROTO :DWORD,:DWORD,:DWORD
HBRUSH_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HDC_UserFree PROTO :DWORD,:DWORD
HDC_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HDC_UserSize PROTO :DWORD,:DWORD,:DWORD
HDC_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HENHMETAFILE_UserFree PROTO :DWORD,:DWORD
HENHMETAFILE_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HENHMETAFILE_UserSize PROTO :DWORD,:DWORD,:DWORD
HENHMETAFILE_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HGLOBAL_UserFree PROTO :DWORD,:DWORD
HGLOBAL_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HGLOBAL_UserSize PROTO :DWORD,:DWORD,:DWORD
HGLOBAL_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HICON_UserFree PROTO :DWORD,:DWORD
HICON_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HICON_UserSize PROTO :DWORD,:DWORD,:DWORD
HICON_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HMENU_UserFree PROTO :DWORD,:DWORD
HMENU_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HMENU_UserSize PROTO :DWORD,:DWORD,:DWORD
HMENU_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HMETAFILEPICT_UserFree PROTO :DWORD,:DWORD
HMETAFILEPICT_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HMETAFILEPICT_UserSize PROTO :DWORD,:DWORD,:DWORD
HMETAFILEPICT_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HMETAFILE_UserFree PROTO :DWORD,:DWORD
HMETAFILE_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HMETAFILE_UserSize PROTO :DWORD,:DWORD,:DWORD
HMETAFILE_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HPALETTE_UserFree PROTO :DWORD,:DWORD
HPALETTE_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HPALETTE_UserSize PROTO :DWORD,:DWORD,:DWORD
HPALETTE_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HWND_UserFree PROTO :DWORD,:DWORD
HWND_UserMarshal PROTO :DWORD,:DWORD,:DWORD
HWND_UserSize PROTO :DWORD,:DWORD,:DWORD
HWND_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
HkOleRegisterObject PROTO :DWORD,:DWORD,:DWORD,:DWORD
IIDFromString PROTO :DWORD,:DWORD
IsAccelerator PROTO :DWORD,:DWORD,:DWORD,:DWORD
IsEqualGUID PROTO :DWORD,:DWORD
IsValidIid PROTO :DWORD
IsValidInterface PROTO :DWORD
IsValidPtrIn PROTO :DWORD,:DWORD
IsValidPtrOut PROTO :DWORD,:DWORD
MkParseDisplayName PROTO :DWORD,:DWORD,:DWORD,:DWORD
MonikerCommonPrefixWith PROTO :DWORD,:DWORD,:DWORD
MonikerRelativePathTo PROTO :DWORD,:DWORD,:DWORD,:DWORD
OleBuildVersion PROTO 
OleConvertIStorageToOLESTREAM PROTO :DWORD,:DWORD
OleConvertIStorageToOLESTREAMEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleConvertOLESTREAMToIStorage PROTO :DWORD,:DWORD,:DWORD
OleConvertOLESTREAMToIStorageEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreate PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateDefaultHandler PROTO :DWORD,:DWORD,:DWORD,:DWORD
OleCreateEmbeddingHelper PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateFromData PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateFromDataEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateFromFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateFromFileEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateLink PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateLinkEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateLinkFromData PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateLinkFromDataEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateLinkToFile PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateLinkToFileEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleCreateMenuDescriptor PROTO :DWORD,:DWORD
OleCreateStaticFromData PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleDestroyMenuDescriptor PROTO :DWORD
OleDoAutoConvert PROTO :DWORD,:DWORD
OleDraw PROTO :DWORD,:DWORD,:DWORD,:DWORD
OleDuplicateData PROTO :DWORD,:DWORD,:DWORD
OleFlushClipboard PROTO 
OleGetAutoConvert PROTO :DWORD,:DWORD
OleGetClipboard PROTO :DWORD
OleGetIconOfClass PROTO :DWORD,:DWORD,:DWORD
OleGetIconOfFile PROTO :DWORD,:DWORD
OleInitialize PROTO :DWORD
OleInitializeWOW PROTO :DWORD,:DWORD
OleIsCurrentClipboard PROTO :DWORD
OleIsRunning PROTO :DWORD
OleLoad PROTO :DWORD,:DWORD,:DWORD,:DWORD
OleLoadFromStream PROTO :DWORD,:DWORD,:DWORD
OleLockRunning PROTO :DWORD,:DWORD,:DWORD
OleMetafilePictFromIconAndLabel PROTO :DWORD,:DWORD,:DWORD,:DWORD
OleNoteObjectVisible PROTO :DWORD,:DWORD
OleQueryCreateFromData PROTO :DWORD
OleQueryLinkFromData PROTO :DWORD
OleRegEnumFormatEtc PROTO :DWORD,:DWORD,:DWORD
OleRegEnumVerbs PROTO :DWORD,:DWORD
OleRegGetMiscStatus PROTO :DWORD,:DWORD,:DWORD
OleRegGetUserType PROTO :DWORD,:DWORD,:DWORD
OleRun PROTO :DWORD
OleSave PROTO :DWORD,:DWORD,:DWORD
OleSaveToStream PROTO :DWORD,:DWORD
OleSetAutoConvert PROTO :DWORD,:DWORD
OleSetClipboard PROTO :DWORD
OleSetContainedObject PROTO :DWORD,:DWORD
OleSetMenuDescriptor PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
OleTranslateAccelerator PROTO :DWORD,:DWORD,:DWORD
OleUninitialize PROTO 
OpenOrCreateStream PROTO :DWORD,:DWORD,:DWORD
ProgIDFromCLSID PROTO :DWORD,:DWORD
PropStgNameToFmtId PROTO :DWORD,:DWORD
PropSysAllocString PROTO :DWORD
PropSysFreeString PROTO :DWORD
PropVariantClear PROTO :DWORD
PropVariantCopy PROTO :DWORD,:DWORD
ReadClassStg PROTO :DWORD,:DWORD
ReadClassStm PROTO :DWORD,:DWORD
ReadFmtUserTypeStg PROTO :DWORD,:DWORD,:DWORD
ReadOleStg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ReadStringStream PROTO :DWORD,:DWORD
RegisterDragDrop PROTO :DWORD,:DWORD
ReleaseStgMedium PROTO :DWORD
RevokeDragDrop PROTO :DWORD
SNB_UserFree PROTO :DWORD,:DWORD
SNB_UserMarshal PROTO :DWORD,:DWORD,:DWORD
SNB_UserSize PROTO :DWORD,:DWORD,:DWORD
SNB_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
STGMEDIUM_UserFree PROTO :DWORD,:DWORD
STGMEDIUM_UserMarshal PROTO :DWORD,:DWORD,:DWORD
STGMEDIUM_UserSize PROTO :DWORD,:DWORD,:DWORD
STGMEDIUM_UserUnmarshal PROTO :DWORD,:DWORD,:DWORD
SetConvertStg PROTO :DWORD,:DWORD
SetDocumentBitStg PROTO :DWORD,:DWORD
StgCreateDocfile PROTO :DWORD,:DWORD,:DWORD,:DWORD
StgCreateDocfileOnILockBytes PROTO :DWORD,:DWORD,:DWORD,:DWORD
StgCreatePropSetStg PROTO :DWORD,:DWORD,:DWORD
StgCreatePropStg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StgCreateStorageEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StgGetIFillLockBytesOnFile PROTO :DWORD,:DWORD
StgGetIFillLockBytesOnILockBytes PROTO :DWORD,:DWORD
StgIsStorageFile PROTO :DWORD
StgIsStorageILockBytes PROTO :DWORD
StgOpenAsyncDocfileOnIFillLockBytes PROTO :DWORD,:DWORD,:DWORD,:DWORD
StgOpenPropStg PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StgOpenStorage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StgOpenStorageEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StgOpenStorageOnILockBytes PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
StgSetTimes PROTO :DWORD,:DWORD,:DWORD,:DWORD
StringFromCLSID PROTO :DWORD,:DWORD
StringFromGUID2 PROTO :DWORD,:DWORD,:DWORD
StringFromIID PROTO :DWORD,:DWORD
UpdateDCOMSettings PROTO 
UtConvertDvtd16toDvtd32 PROTO :DWORD,:DWORD,:DWORD
UtConvertDvtd32toDvtd16 PROTO :DWORD,:DWORD,:DWORD
UtGetDvtd16Info PROTO :DWORD,:DWORD
UtGetDvtd32Info PROTO :DWORD,:DWORD
WriteClassStg PROTO :DWORD,:DWORD
WriteClassStm PROTO :DWORD,:DWORD
WriteFmtUserTypeStg PROTO :DWORD,:DWORD,:DWORD
WriteOleStg PROTO :DWORD,:DWORD,:DWORD,:DWORD
WriteStringStream PROTO :DWORD,:DWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file ole32.inc
echo -----------------------------------------
ENDIF
