; --------------------------------------------------------------------------------------------------
;                           urlmon.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF URLMON_INC
URLMON_INC equ <1>

BindAsyncMoniker PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoGetClassObjectFromURL PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoInternetCombineUrl PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoInternetCompareUrl PROTO STDCALL :DWORD,:DWORD,:DWORD
CoInternetCreateSecurityManager PROTO STDCALL :DWORD,:DWORD,:DWORD
CoInternetCreateZoneManager PROTO STDCALL :DWORD,:DWORD,:DWORD
CoInternetGetProtocolFlags PROTO STDCALL :DWORD,:DWORD,:DWORD
CoInternetGetSecurityUrl PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CoInternetGetSession PROTO STDCALL :DWORD,:DWORD,:DWORD
CoInternetIsFeatureEnabled PROTO STDCALL :DWORD,:DWORD
CoInternetIsFeatureEnabledForUrl PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CoInternetIsFeatureZoneElevationEnabled PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CoInternetParseUrl PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoInternetQueryInfo PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CoInternetSetFeatureEnabled PROTO STDCALL :DWORD,:DWORD,:DWORD
CompareSecurityIds PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CompatFlagsFromClsid PROTO STDCALL :DWORD,:DWORD,:DWORD
CopyBindInfo PROTO STDCALL :DWORD,:DWORD
CopyStgMedium PROTO STDCALL :DWORD,:DWORD
CreateAsyncBindCtx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CreateAsyncBindCtxEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateFormatEnumerator PROTO STDCALL :DWORD,:DWORD,:DWORD
CreateURLMoniker PROTO STDCALL :DWORD,:DWORD,:DWORD
CreateURLMonikerEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
Extract PROTO STDCALL :DWORD,:DWORD
FaultInIEFeature PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FindMediaType PROTO STDCALL :DWORD,:DWORD
FindMediaTypeClass PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FindMimeFromData PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetClassFileOrMime PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
GetClassURL PROTO STDCALL :DWORD,:DWORD
GetComponentIDFromCLSSPEC PROTO STDCALL :DWORD,:DWORD
GetSoftwareUpdateInfo PROTO STDCALL :DWORD,:DWORD
HlinkGoBack PROTO STDCALL :DWORD
HlinkGoForward PROTO STDCALL :DWORD
HlinkNavigateMoniker PROTO STDCALL :DWORD,:DWORD
HlinkNavigateString PROTO STDCALL :DWORD,:DWORD
HlinkSimpleNavigateToMoniker PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
HlinkSimpleNavigateToString PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IsAsyncMoniker PROTO STDCALL :DWORD
IsJITInProgress PROTO STDCALL

IsLoggingEnabledA PROTO STDCALL :DWORD
IFNDEF __UNICODE__
  IsLoggingEnabled equ <IsLoggingEnabledA>
ENDIF

IsLoggingEnabledW PROTO STDCALL :DWORD
IFDEF __UNICODE__
  IsLoggingEnabled equ <IsLoggingEnabledW>
ENDIF

IsValidURL PROTO STDCALL :DWORD,:DWORD,:DWORD
MkParseDisplayNameEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ObtainUserAgentString PROTO STDCALL :DWORD,:DWORD,:DWORD
RegisterBindStatusCallback PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
RegisterDebugOut PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
RegisterFormatEnumerator PROTO STDCALL :DWORD,:DWORD,:DWORD
RegisterMediaTypeClass PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
RegisterMediaTypes PROTO STDCALL :DWORD,:DWORD,:DWORD
ReleaseBindInfo PROTO STDCALL :DWORD
RevokeBindStatusCallback PROTO STDCALL :DWORD,:DWORD
RevokeFormatEnumerator PROTO STDCALL :DWORD,:DWORD
SetSoftwareUpdateAdvertisementState PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD

URLDownloadA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  URLDownload equ <URLDownloadA>
ENDIF

URLDownloadToCacheFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  URLDownloadToCacheFile equ <URLDownloadToCacheFileA>
ENDIF

URLDownloadToCacheFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  URLDownloadToCacheFile equ <URLDownloadToCacheFileW>
ENDIF

URLDownloadToFileA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  URLDownloadToFile equ <URLDownloadToFileA>
ENDIF

URLDownloadToFileW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  URLDownloadToFile equ <URLDownloadToFileW>
ENDIF

URLDownloadW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  URLDownload equ <URLDownloadW>
ENDIF

URLOpenBlockingStreamA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  URLOpenBlockingStream equ <URLOpenBlockingStreamA>
ENDIF

URLOpenBlockingStreamW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  URLOpenBlockingStream equ <URLOpenBlockingStreamW>
ENDIF

URLOpenPullStreamA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  URLOpenPullStream equ <URLOpenPullStreamA>
ENDIF

URLOpenPullStreamW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  URLOpenPullStream equ <URLOpenPullStreamW>
ENDIF

URLOpenStreamA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFNDEF __UNICODE__
  URLOpenStream equ <URLOpenStreamA>
ENDIF

URLOpenStreamW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  URLOpenStream equ <URLOpenStreamW>
ENDIF

UrlMkBuildVersion PROTO STDCALL
UrlMkGetSessionOption PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UrlMkSetSessionOption PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
WriteHitLogging PROTO STDCALL :DWORD

ELSE
  echo -----------------------------------------
  echo WARNING duplicate include file urlmon.inc
  echo -----------------------------------------
ENDIF
