Share via


Using Header Files in C++

banner art

Previous Next

Using Header Files in C++

In general, you must include the Wmsserver.h header file when using the Windows Media Services SDK. This file contains declarations of most of the interfaces that are exposed by the server object model, including the IWMSServer interface which you must use to create all of the other exposed objects. The Wmsserver.h file also includes the following Windows Media Server SDK header files:

  • Xmldom.h
  • Wmsnamedvalues.h
  • Wmsplugin.h
  • Wmsxmldomextensions.h
  • Streamcache.h
  • Wmsdefs.h
  • Wmscatid.h

Together, these files and the Wmsserver.h file provide declarations for all of the interfaces exposed by the server object model. For more information, see The Server Object Model.

The following table identifies the header files that you can use to create custom plug-ins.

Custom plug-in Header file Interfaces
Authentication Authen.h IWMSAuthenticationCallback
IWMSAuthenticationContext
IWMSAuthenticationPlugin
Cache proxy Datacontainerversion.h IWMSDataContainerVersion
  Streamcache.h IWMSCacheProxy
IWMSCacheProxyCallback
IWMSCacheProxyServer
IWMSCacheProxyServerCallback
IWMSCacheItemDescriptor

IWMSCacheItemCollection
  Wmsproxy.h IWMSProxyContext
Data source Datacontainer.h IWMSDataContainer
IWMSDataContainerCallback
IWMSDataSourcePlugin
IWMSDataSourcePluginCallback
  Datacontainerversion.h IWMSDataContainerVersion
  Streamdescription.h IWMSStreamHeader
IWMSStreamHeaderList
IWMSContentDescriptionList

IWMSStreamSwitchDescriptionList
  WmsIncomingCounters.h IWMSIncomingCounters
  Wmspacket.h IWMSPacket
IWMSPacketListCallback
IWMSPacketList
IWMSPacketParser
IWMSStreamSignalHandler
  Wmsdatapath.h IWMSPacketStreamer
IWMSPacketStreamerCallback
IWMSPushSource
IWMSPushSourceCallback
IWMSPushSink
IWMSPacketStreamDataContainer
Playlist parser Wmsplaylistparser.h IWMSPlaylistParserCallback
IWMSPlaylistParserPlugin

IWMSPlaylistParserPluginCallback
Event notification/
authorization
Event.h IWMSCustomEventCallback
IWMSEventAuthorizationCallback
IWMSAuthorizationPlugin

IWMSEventNotificationPlugin
  Wmsheaderline.h IWMSHeaderLine
  Wmsevent.h Definitions of WMS_EVENT_TYPE enumeration and WMS_EVENT structure. Included in Event.h.
All Nsscore.h IWMSClassObject
  Wmsbasicplugin.h IWMSBasicPlugin
  Wmsbuffer.h INSSBuffer
IWMSBufferAllocator
  Wmscontext.h IWMSCommandContext
IWMSContext
  Wmscontextnames.h Definitions of context names.
  Wmseventlog.h IWMSEventLog
  Nserror.h Definitions of Windows Media custom HRESULT values.

See Also

Previous Next