' ########################################################################################
' Microsoft Windows
' File: datacontainerversion.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_datacontainerversion_PBI)
#DEFINE PBX_datacontainerversion_PBI
%EQUATE `DATACONTAINERVERSION_INC = 1
'/* header files for imported files */
#INCLUDE ONCE "Legacy/COM/ObjIdl.inc"
$IID_IWMSDataContainerVersion = GUID$("{3AE75C14-2B3A-11D2-9EF7-006097D2D7CF}")
' WMS_DATA_CONTAINER_VERSION_CACHE_FLAGS enum
%EQUATE `WMS_DATA_CONTAINER_VERSION_ALLOW_PROXY_CACHING = &H1
%EQUATE `WMS_DATA_CONTAINER_VERSION_ALLOW_PLAYER_CACHING = &H2
%EQUATE `WMS_DATA_CONTAINER_VERSION_ALLOW_STREAM_SPLITTING = &H4
' ########################################################################################
' Interface name = IWMSDataContainerVersion
' IID = {3AE75C14-2B3A-11D2-9EF7-006097D2D7CF}
' Provides methods for retrieving content version information.
' Inherited interface = IUnknown
' ########################################################################################
#IF NOT %DEF(%IWMSDataContainerVersion_INTERFACE_DEFINED)
 %IWMSDataContainerVersion_INTERFACE_DEFINED = 1
INTERFACE IWMSDataContainerVersion $IID_IWMSDataContainerVersion
 INHERIT IUnknown
 ' =====================================================================================
 METHOD GetLastModifiedTime ( ' VTable offset = 12
 BYREF pdateLastModifiedTime AS DOUBLE
 ) AS LONG
 ' =====================================================================================
 METHOD SetLastModifiedTime ( ' VTable offset = 16
 BYVAL dateLastModifiedTime AS DOUBLE
 ) AS LONG
 ' =====================================================================================
 METHOD GetExpirationTime ( ' VTable offset = 20
 BYREF pdateExpirationTime AS DOUBLE
 ) AS LONG
 ' =====================================================================================
 METHOD SetExpirationTime ( ' VTable offset = 24
 BYVAL dateExpirationTime AS DOUBLE
 ) AS LONG
 ' =====================================================================================
 METHOD GetCacheFlags ( ' VTable offset = 28
 BYREF plFlags AS LONG
 ) AS LONG
 ' =====================================================================================
 METHOD SetCacheFlags ( ' VTable offset = 32
 BYVAL lFlags AS LONG
 ) AS LONG
 ' =====================================================================================
 METHOD GetContentSize ( ' VTable offset = 36
 BYREF plContentSizeLow AS LONG
 , BYREF plContentSizeHigh AS LONG
 ) AS LONG
 ' =====================================================================================
 METHOD SetContentSize ( ' VTable offset = 40
 BYVAL lContentSizeLow AS LONG
 , BYVAL lContentSizeHigh AS LONG
 ) AS LONG
 ' =====================================================================================
 METHOD GetEntityTagCount ( ' VTable offset = 44
 BYREF plNumEntityTags AS LONG
 ) AS LONG
 ' =====================================================================================
 METHOD GetEntityTag ( ' VTable offset = 48
 BYVAL lTagNum AS LONG
 , BYREF pszEntityTag AS WSTRING
 ) AS LONG
 ' =====================================================================================
 METHOD SetEntityTag ( ' VTable offset = 52
 BYVAL szEntityTag AS WSTRING
 ) AS LONG
 ' =====================================================================================
 METHOD Compare ( ' VTable offset = 56
 BYVAL pVersion AS IWMSDataContainerVersion
 , BYREF pvfEqual AS INTEGER
 ) AS LONG
 ' =====================================================================================
END INTERFACE
#ENDIF ' /* __IWMSDataContainerVersion_INTERFACE_DEFINED__ */
#ENDIF
