WMF9.pas
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:498k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1.     function GetUserProvidedClock(out pfUserClock: BOOL): HResult; stdcall;
  2.     function DeliverTime(cnsTime: Int64): HResult; stdcall;
  3.     // The user can select streams manually, instead of relying on the
  4.     // automatic bandwidth stream selection that the reader will
  5.     // normally do. To figure out what streams are in this ASF and what their
  6.     // numbers are, QI for IWMProfile.
  7.     //
  8.     // When SetManualStreamSelection( TRUE ) is called, all streams are
  9.     // selected by default.
  10.     function SetManualStreamSelection(fSelection: BOOL): HResult; stdcall;
  11.     function GetManualStreamSelection(out pfSelection: BOOL): HResult; stdcall;
  12.     function SetStreamsSelected(cStreamCount: Word; pwStreamNumbers: PWord;
  13.                                 pSelections: PWMTStreamSelection): HResult; stdcall;
  14.     function GetStreamSelected(wStreamNum: Word; out pSelection: TWMTStreamSelection): HResult; stdcall;
  15.     // The user can also choose to get callbacks when automatic stream
  16.     // selection occurs.
  17.     function SetReceiveSelectionCallbacks(fGetCallbacks: BOOL): HResult; stdcall;
  18.     function GetReceiveSelectionCallbacks(out pfGetCallbacks: BOOL): HResult; stdcall;
  19.     // The user can register himself to receive samples directly from the
  20.     // ASF streams, rather than letting the Reader decompress them. Note that
  21.     // to do this, the IWMReaderCallback (supplied by the user) must support
  22.     // IWMReaderCallbackAdvanced.
  23.     //
  24.     // To get actual information about the contents of a stream, QI the
  25.     // object for IWMProfile.
  26.     function SetReceiveStreamSamples(wStreamNum: Word; fReceiveStreamSamples: BOOL): HResult; stdcall;
  27.     function GetReceiveStreamSamples(wStreamNum: Word; out pfReceiveStreamSamples: BOOL): HResult; stdcall;
  28.     // The user can register himself to provide buffers for any of the outputs
  29.     // (for instance, DDraw buffers). The actual allocation is on the
  30.     // IWMReaderCallbackAdvanced interface.
  31.     function SetAllocateForOutput(dwOutputNum: LongWord; fAllocate: BOOL): HResult; stdcall;
  32.     function GetAllocateForOutput(dwOutputNum: LongWord; out pfAllocate: BOOL): HResult; stdcall;
  33.     function SetAllocateForStream(wStreamNum: Word; fAllocate: BOOL): HResult; stdcall;
  34.     function GetAllocateForStream(dwSreamNum: Word; out pfAllocate: BOOL): HResult; stdcall;
  35.     // Get statistics on demand
  36.     function GetStatistics(var pStatistics: TWMReaderStatistics): HResult; stdcall;
  37.     // Set client side information used for logging
  38.     function SetClientInfo(pClientInfo: PWMReaderClientInfo): HResult; stdcall;
  39.     // Get the maximum required buffer sizes that the SDK will allocate.
  40.     // The first is for output buffers, the second for stream buffers.
  41.     function GetMaxOutputSampleSize(dwOutput: LongWord; out pcbMax: LongWord): HResult; stdcall;
  42.     function GetMaxStreamSampleSize(wStream: Word; out pcbMax: LongWord): HResult; stdcall;
  43.     // Used to notify the reader that it's delivering data
  44.     // too slowly to the client.  The reader will try to speed
  45.     // up.
  46.     function NotifyLateDelivery(cnsLateness: Int64): HResult; stdcall;
  47.   end;
  48.   // The reader can be QI'd for this interface for advanced functionality.
  49.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAdvanced2> _di_IWMReaderAdvanced2;'}
  50.   {$EXTERNALSYM IWMReaderAdvanced2}
  51.   IWMReaderAdvanced2 = interface(IWMReaderAdvanced)
  52.     ['{AE14A945-B90C-4D0D-9127-80D665F7D73E}']
  53.     (*** IWMReaderAdvanced2 methods ***)
  54.     // Set the play mode to WMT_PLAY_MODE_AUTOSELECT to allow the reader
  55.     // to pick the mode. (This is the default). If you select a play mode that
  56.     // is impossible for the requested URL, an error will be returned when
  57.     // the URL is opened.
  58.     function SetPlayMode(Mode: TWMTPlayMode): HResult; stdcall;
  59.     // Get the current play mode.
  60.     function GetPlayMode(out pMode: TWMTPlayMode): HResult; stdcall;
  61.     // Between WMT_BUFFERING_START and WMT_BUFFERING_STOP this call will
  62.     // return progress values. pdwPercent returns the percentage of buffering
  63.     // that has completed, and pcnsBuffering returns the amount of buffering
  64.     // remaining.
  65.     function GetBufferProgress(out pdwPercent: LongWord; out pcnsBuffering: Int64): HResult; stdcall;
  66.     // When the play mode is WMT_PLAY_MODE_DOWNLOAD, this call will return
  67.     // progress values. pdwPercent returns the percentage of the download
  68.     // that has completed, pqwBytesDownloaded returns the number of bytes
  69.     // that have been downloaded, and pcnsDownload returns the amount of
  70.     // downloading remaining.
  71.     function GetDownloadProgress(out pdwPercent: LongWord; out pqwBytesDownloaded: Int64;
  72.                                  out pcnsDownload: Int64): HResult; stdcall;
  73.     // When saving a file, the operation may take awhile. Between
  74.     // WMT_SAVEAS_START and WMT_SAVEAS_STOP, this call will return progress
  75.     // values. pdwPercent returns the percentage of the save as that has
  76.     // completed.
  77.     function GetSaveAsProgress(out pdwPercent: LongWord): HResult; stdcall;
  78.     // Save the current file. This only works for WMT_PLAY_MODE_DOWNLOAD.
  79.     // This operation is asynchronous; WMT_SAVEAS_STOP indicates that the
  80.     // save has completed. Closing the reader will abort a save operation
  81.     // that has not completed.
  82.     function SaveFileAs(pwszFilename: PWideChar): HResult; stdcall;
  83.     // Returns the name of the protocol that is currently being used.
  84.     // The protocol name is a URL scheme, such as "mmsu", "http", "file", etc.
  85.     // Note, however, that the protocol name may differ from the URL scheme
  86.     // that was specified in IWMReader::Open().
  87.     // This method may return an empty string if the protocol name cannot be determined.
  88.     function GetProtocolName({out} pwszProtocol: PWideChar; var pcchProtocol: LongWord): HResult; stdcall;
  89.     // Same as IWMReader::Start, but uses a marker index instead of a time value.
  90.     function StartAtMarker(wMarkerIndex: Word; cnsDuration: Int64; fRate: Single;
  91.                            pvContext: Pointer): HResult; stdcall;
  92.     // Retrieves a setting for a particular output by name
  93.     function GetOutputSetting(dwOutputNum: LongWord; pszName: PWideChar;
  94.                               out pType: TWMTAttrDataType; {out} pValue: PByte; var pcbLength: Word): HResult; stdcall;
  95.     // Sets a named setting for a particular output
  96.     function SetOutputSetting(dwOutputNum: LongWord; pszName: PWideChar; Type_: TWMTAttrDataType;
  97.                               pValue: PByte; cbLength: Word): HResult; stdcall;
  98.     // Used to begin prerolling the reader.  Call this method
  99.     // when you know you're going to call Start soon and want
  100.     // to start buffering data in advance.  cnsStart, cnsDuration
  101.     // and fRate should be the same as the values you plan to pass
  102.     // to Start in the future.
  103.     function Preroll(cnsStart: Int64; cnsDuration: Int64; fRate: Single): HResult; stdcall;
  104.     // Specifies whether the SDK should send the client's unique identifier
  105.     // to the server when streaming.
  106.     function SetLogClientID(fLogClientID: BOOL): HResult; stdcall;
  107.     function GetLogClientID(out pfLogClientID: BOOL): HResult; stdcall;
  108.     // This method requests that the Reader send WMT_BUFFERING_STOP as soon
  109.     // as possible. The Reader will only honor the request if it is currently
  110.     // buffering, i.e., it has sent a WMT_BUFFERING_START, but not yet sent the
  111.     // corresponding WMT_BUFFERING_STOP.
  112.     function StopBuffering: HResult; stdcall;
  113.     // Same as IWMReader::Open but takes an IStream interface pointer instead
  114.     // of an URL to be opened
  115.     function OpenStream(const pStream: IStream; pCallback: IWMReaderCallback;
  116.                         pvContext: Pointer): HResult; stdcall;
  117.   end;
  118.   // The reader can be QI'ed for this interface for frame access functionaly.
  119.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAdvanced3> _di_IWMReaderAdvanced3;'}
  120.   {$EXTERNALSYM IWMReaderAdvanced3}
  121.   IWMReaderAdvanced3 = interface(IWMReaderAdvanced2)
  122.     ['{5DC0674B-F04B-4A4E-9F2A-B1AFDE2C8100}']
  123.     (*** IWMReaderAdvanced3 methods ***)
  124.     // This method is used when you want to stop net streaming right away but
  125.     // continue to receive samples that SDK have gotten so far.
  126.     //
  127.     // If it's successful, user should receive an END_OF_STREAMING quickly.
  128.     function StopNetStreaming: HResult; stdcall;
  129.     // This method supports extended start functionality. The currently
  130.     // support start formats are:
  131.     //
  132.     // WMT_OFFSET_FORMAT_100NS
  133.     // WMT_OFFSET_FORMAT_FRAME_NUMBERS
  134.     // WMT_OFFSET_FORMAT_PLAYLIST_OFFSET
  135.     // WMT_OFFSET_FORMAT_TIMECODE
  136.     function StartAtPosition(wStreamNum: Word; pvOffsetStart: Pointer; pvDuration: Pointer;
  137.                              dwOffsetFormat: TWMTOffsetFormat; fRate: Single;
  138.                              pvContext: Pointer): HResult; stdcall;
  139.   end;
  140.   // The reader can be QI'ed for this interface for frame access functionaly.
  141.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAdvanced4> _di_IWMReaderAdvanced4;'}
  142.   {$EXTERNALSYM IWMReaderAdvanced4}
  143.   IWMReaderAdvanced4 = interface(IWMReaderAdvanced3)
  144.     ['{945A76A2-12AE-4D48-BD3C-CD1D90399B85}']
  145.     (*** IWMReaderAdvanced4 methods ***)
  146.     function GetLanguageCount(dwOutputNum: LongWord; out pwLanguageCount: Word): HResult; stdcall;
  147.     function GetLanguage(dwOutputNum: LongWord; wLanguage: Word; {out} pwszLanguageString: PWideChar;
  148.                          var pcchLanguageStringLength: Word): HResult; stdcall;
  149.     function GetMaxSpeedFactor(out pdblFactor: Double): HResult; stdcall;
  150.     function IsUsingFastCache(out pfUsingFastCache: BOOL): HResult; stdcall;
  151.     function AddLogParam(wszNameSpace: PWideChar; wszName: PWideChar; wszValue: PWideChar): HResult; stdcall;
  152.     function SendLogParams: HResult; stdcall;
  153.     // Sets output parameter to TRUE if IWMReaderAdvanced2::SaveFileAs() is
  154.     // can be invoked for the current content.
  155.     function CanSaveFileAs(out pfCanSave: BOOL): HResult; stdcall;
  156.     // Cancels the current FileSaveAs operation
  157.     function CancelSaveFileAs: HResult; stdcall;
  158.     // This method returns the URL currently being played.  This URL might be
  159.     // different from the URL passed in to IWMReader::Open, because the Reader
  160.     // may have been redirected to an alternate URL.
  161.     function GetURL(pwszURL: PWideChar; var pcchURL: LongWord): HResult; stdcall;
  162.   end;
  163.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAllocatorEx> _di_IWMReaderAllocatorEx;'}
  164.   {$EXTERNALSYM IWMReaderAllocatorEx}
  165.   IWMReaderAllocatorEx = interface(IUnknown)
  166.     ['{9F762FA7-A22E-428D-93C9-AC82F3AAFE5A}']
  167.     (*** IWMReaderAllocatorEx methods ***)
  168.     function AllocateForStreamEx(wStreamNum: Word; cbBuffer: LongWord; out ppBuffer: INSSBuffer;
  169.                                  dwFlags: LongWord; cnsSampleTime: Int64;
  170.                                  cnsSampleDuration: Int64; pvContext: Pointer): HResult; stdcall;
  171.     function AllocateForOutputEx(dwOutputNum: LongWord; cbBuffer: LongWord;
  172.                                  out ppBuffer: INSSBuffer; dwFlags: LongWord;
  173.                                  cnsSampleTime: Int64; cnsSampleDuration: Int64;
  174.                                  pvContext: Pointer): HResult; stdcall;
  175.   end;
  176.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderTypeNegotiation> _di_IWMReaderTypeNegotiation;'}
  177.   {$EXTERNALSYM IWMReaderTypeNegotiation}
  178.   IWMReaderTypeNegotiation = interface(IUnknown)
  179.     ['{FDBE5592-81A1-41EA-93BD-735CAD1ADC05}']
  180.     (*** IWMReaderTypeNegotiation methods ***)
  181.     function TryOutputProps(dwOutputNum: LongWord; pOutput: IWMOutputMediaProps): HResult; stdcall;
  182.   end;
  183.   // For some advanced functionality, the IWMReaderCallback must support this
  184.   // interface.
  185.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderCallbackAdvanced> _di_IWMReaderCallbackAdvanced;'}
  186.   {$EXTERNALSYM IWMReaderCallbackAdvanced}
  187.   IWMReaderCallbackAdvanced = interface(IUnknown)
  188.     ['{96406BEB-2B2B-11D3-B36B-00C04F6108FF}']
  189.     (*** IWMReaderCallbackAdvanced methods ***)
  190.     // Receive a sample directly from the ASF. To get this call, the user
  191.     // must register himself to receive samples for a particular stream.
  192.     function OnStreamSample(wStreamNum: Word; cnsSampleTime: Int64;
  193.                             cnsSampleDuration: Int64; dwFlags: LongWord;
  194.                             pSample: INSSBuffer; pvContext: Pointer): HResult; stdcall;
  195.     // In some cases, the user may want to get callbacks telling what the
  196.     // reader thinks the current time is. This is interesting in 2 cases:
  197.     // - If the ASF has gaps in it; say no audio for 10 seconds. This call
  198.     //   will continue to be called, while OnSample won't be called.
  199.     // - If the user is driving the clock, the reader needs to communicate
  200.     //   back to the user its time, to avoid the user overrunning the reader.
  201.     function OnTime(cnsCurrentTime: Int64; pvContext: Pointer): HResult; stdcall;
  202.     // The user can also get callbacks when stream selection occurs.
  203.     function OnStreamSelection(wStreamCount: Word; pStreamNumbers: PWord;
  204.                                pSelections: PWMTStreamSelection; pvContext: Pointer): HResult; stdcall;
  205.     // Will be called if the user got an async result from their
  206.     // call to SetOutputProps.  The next sample you receive for
  207.     // this output will have these properties.  The contents of the
  208.     // media type after calling SetOutputProps and before receiving
  209.     // an OutputPropsChanged notification are undefined.
  210.     function OnOutputPropsChanged(dwOutputNum: LongWord; pMediaType: PWMMediaType;
  211.                                   pvContext: Pointer): HResult; stdcall;
  212.     // If the user has registered to allocate buffers, this is where he must
  213.     // do it.
  214.     function AllocateForStream(wStreamNum: Word; cbBuffer: LongWord; out ppBuffer: INSSBuffer;
  215.                                pvContext: Pointer): HResult; stdcall;
  216.     function AllocateForOutput(dwOutputNum: LongWord; cbBuffer: LongWord; out ppBuffer: INSSBuffer;
  217.                                pvContext: Pointer): HResult; stdcall;
  218.   end;
  219.   // Used to access advanced DRM functionality.
  220.   {$HPPEMIT 'typedef System::DelphiInterface<IWMDRMReader> _di_IWMDRMReader;'}
  221.   {$EXTERNALSYM IWMDRMReader}
  222.   IWMDRMReader = interface(IUnknown)
  223.     ['{D2827540-3EE7-432C-B14C-DC17F085D3B3}']
  224.     (*** IWMDRMReader methods ***)
  225.     function AcquireLicense(dwFlags: LongWord): HResult; stdcall;
  226.     function CancelLicenseAcquisition: HResult; stdcall;
  227.     function Individualize(dwFlags: LongWord): HResult; stdcall;
  228.     function CancelIndividualization: HResult; stdcall;
  229.     function MonitorLicenseAcquisition: HResult; stdcall;
  230.     function CancelMonitorLicenseAcquisition: HResult; stdcall;
  231.     function SetDRMProperty(pwstrName: PWideChar; dwType: TWMTAttrDataType; pValue: PByte;
  232.                             cbLength: Word): HResult; stdcall;
  233.     function GetDRMProperty(pwstrName: PWideChar; out pdwType: TWMTAttrDataType; pValue: PByte;
  234.                             var pcbLength: Word): HResult; stdcall;
  235.   end;
  236.   // Used to configure the network.  This interface is implemented by
  237.   // the IWMReader object.
  238.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderNetworkConfig> _di_IWMReaderNetworkConfig;'}
  239.   {$EXTERNALSYM IWMReaderNetworkConfig}
  240.   IWMReaderNetworkConfig = interface(IUnknown)
  241.     ['{96406BEC-2B2B-11D3-B36B-00C04F6108FF}']
  242.     (*** IWMReaderNetworkConfig methods ***)
  243.     // Get and set the amount of time the network source will buffer
  244.     // data before rendering it.
  245.     function GetBufferingTime(out pcnsBufferingTime: Int64): HResult; stdcall;
  246.     function SetBufferingTime(cnsBufferingTime: Int64): HResult; stdcall;
  247.     // Returns the UDP port number ranges that will be used for receiving
  248.     // data.  If no ranges are available, random UDP port numbers will be used.
  249.     function GetUDPPortRanges({out} pRangeArray: PWMPortNumberRange; var pcRanges: LongWord): HResult; stdcall;
  250.     // Sets the UDP port number ranges that can be used for receiving data.
  251.     // If no ranges are specified, random UDP port numbers will be used.
  252.     function SetUDPPortRanges({in} pRangeArray: PWMPortNumberRange; cRanges: LongWord): HResult; stdcall;
  253.     // Proxy settings: Manual proxy, Autodetect, UseBrowser (only for HTTP), or No Proxy.
  254.     function GetProxySettings(pwszProtocol: PWideChar; out pProxySetting: TWMTProxySettings): HResult; stdcall;
  255.     function SetProxySettings(pwszProtocol: PWideChar; ProxySetting: TWMTProxySettings): HResult; stdcall;
  256.     // The host to use as the proxy.
  257.     function GetProxyHostName(pwszProtocol: PWideChar; {out} pwszHostName: PWideChar;
  258.                               var pcchHostName: LongWord): HResult; stdcall;
  259.     function SetProxyHostName(pwszProtocol: PWideChar; pwszHostName: PWideChar): HResult; stdcall;
  260.     // The port to use as the proxy.
  261.     function GetProxyPort(pwszProtocol: PWideChar; out pdwPort: LongWord): HResult; stdcall;
  262.     function SetProxyPort(pwszProtocol: PWideChar; dwPort: LongWord): HResult; stdcall;
  263.     // Get and set the proxy exception list.
  264.     function GetProxyExceptionList(pwszProtocol: PWideChar; {out} pwszExceptionList: PWideChar;
  265.                                    var pcchExceptionList: LongWord): HResult; stdcall;
  266.     function SetProxyExceptionList(pwszProtocol: PWideChar; pwszExceptionList: PWideChar): HResult; stdcall;
  267.     // Whether or not to bypass proxy for local hosts
  268.     function GetProxyBypassForLocal(pwszProtocol: PWideChar; out pfBypassForLocal: BOOL): HResult; stdcall;
  269.     function SetProxyBypassForLocal(pwszProtocol: PWideChar; fBypassForLocal: BOOL): HResult; stdcall;
  270.     // Whether to force a wpad discovery on the next run
  271.     function GetForceRerunAutoProxyDetection(out pfForceRerunDetection: BOOL): HResult; stdcall;
  272.     function SetForceRerunAutoProxyDetection(fForceRerunDetection: BOOL): HResult; stdcall;
  273.     // Whether or not to use multicast, http, tcp, or udp
  274.     function GetEnableMulticast(out pfEnableMulticast: BOOL): HResult; stdcall;
  275.     function SetEnableMulticast(fEnableMulticast: BOOL): HResult; stdcall;
  276.     function GetEnableHTTP(out pfEnableHTTP: BOOL): HResult; stdcall;
  277.     function SetEnableHTTP(fEnableHTTP: BOOL): HResult; stdcall;
  278.     function GetEnableUDP(out pfEnableUDP: BOOL): HResult; stdcall;
  279.     function SetEnableUDP(fEnableUDP: BOOL): HResult; stdcall;
  280.     function GetEnableTCP(out pfEnableTCP: BOOL): HResult; stdcall;
  281.     function SetEnableTCP(fEnableTCP: BOOL): HResult; stdcall;
  282.     // Forgets automatic protocol detection settings and redetects next time.
  283.     function ResetProtocolRollover: HResult; stdcall;
  284.     // Return or set the client's link bandwidth in bps.  This is an optional
  285.     // setting.  By default, the SDK will automatically detect its connection
  286.     // bandwidth to the streaming media server.
  287.     function GetConnectionBandwidth(out pdwConnectionBandwidth: LongWord): HResult; stdcall;
  288.     function SetConnectionBandwidth(dwConnectionBandwidth: LongWord): HResult; stdcall;
  289.     // Iterate through the network protocols supported by this reader
  290.     function GetNumProtocolsSupported(out pcProtocols: LongWord): HResult; stdcall;
  291.     function GetSupportedProtocolName(dwProtocolNum: LongWord; {out} pwszProtocolName: PWideChar;
  292.                                       var pcchProtocolName: LongWord): HResult; stdcall;
  293.     // Adds the specified pszUrl to the list of URL's to recieve logging data.
  294.     // This list is in addition to the origin server.
  295.     function AddLoggingUrl(pwszURL: PWideChar): HResult; stdcall;
  296.     // Fills the buffer with the URL corresponding to index dwIndex.
  297.     function GetLoggingUrl(dwIndex: LongWord; {out} pwszURL: PWideChar; var pcchURL: LongWord): HResult; stdcall;
  298.     // Returns the number of URLs in the current list of logging URLs.
  299.     function GetLoggingUrlCount(out pdwUrlCount: LongWord): HResult; stdcall;
  300.     // Clears the list of logging URLs
  301.     function ResetLoggingUrlList: HResult; stdcall;
  302.   end;
  303.   // Used to configure the network.  This interface is implemented by
  304.   // the IWMReader object.
  305.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderNetworkConfig2> _di_IWMReaderNetworkConfig2;'}
  306.   {$EXTERNALSYM IWMReaderNetworkConfig2}
  307.   IWMReaderNetworkConfig2 = interface(IWMReaderNetworkConfig)
  308.     ['{D979A853-042B-4050-8387-C939DB22013F}']
  309.     (*** IWMReaderNetworkConfig2 methods ***)
  310.     // If enabled, allows streaming content (WMT_PLAY_MODE_STREAMING)
  311.     // to be cached locally.
  312.     function GetEnableContentCaching(out pfEnableContentCaching: BOOL): HResult; stdcall;
  313.     function SetEnableContentCaching(fEnableContentCaching: BOOL): HResult; stdcall;
  314.     // If enabled, allows streaming content to be streamed at a rate higher
  315.     // than the playback rate.  This feature requires ContentCaching to be
  316.     // enabled as well.
  317.     function GetEnableFastCache(out pfEnableFastCache: BOOL): HResult; stdcall;
  318.     function SetEnableFastCache(fEnableFastCache: BOOL): HResult; stdcall;
  319.     function GetAcceleratedStreamingDuration(out pcnsAccelDuration: Int64): HResult; stdcall;
  320.     function SetAcceleratedStreamingDuration(cnsAccelDuration: Int64): HResult; stdcall;
  321.     function GetAutoReconnectLimit(out pdwAutoReconnectLimit: LongWord): HResult; stdcall;
  322.     function SetAutoReconnectLimit(dwAutoReconnectLimit: LongWord): HResult; stdcall;
  323.     function GetEnableResends(out pfEnableResends: BOOL): HResult; stdcall;
  324.     function SetEnableResends(fEnableResends: BOOL): HResult; stdcall;
  325.     function GetEnableThinning(out pfEnableThinning: BOOL): HResult; stdcall;
  326.     function SetEnableThinning(fEnableThinning: BOOL): HResult; stdcall;
  327.     function GetMaxNetPacketSize(out pdwMaxNetPacketSize: LongWord): HResult; stdcall;
  328.   end;
  329.   // Used to configure the network.  This interface is implemented by
  330.   // the IWMReader object.
  331.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderStreamClock> _di_IWMReaderStreamClock;'}
  332.   {$EXTERNALSYM IWMReaderStreamClock}
  333.   IWMReaderStreamClock = interface(IUnknown)
  334.     ['{96406BED-2B2B-11D3-B36B-00C04F6108FF}']
  335.     (*** IWMReaderStreamClock methods ***)
  336.     // Get the current value of the stream clock
  337.     function GetTime(pcnsNow: PInt64): HResult; stdcall;
  338.     // Set or kill a timer.  All timers are automatically
  339.     // killed whenever you stop the Reader.  When a timer
  340.     // expires, you'll receive a WMT_TIMER OnStatus callback
  341.     // with hr == S_OK, pValue = TimerId and pvContext == pvParam.
  342.     function SetTimer(cnsWhen: Int64; pvParam: Pointer; out pdwTimerId: LongWord): HResult; stdcall;
  343.     function KillTimer(dwTimerId: LongWord): HResult; stdcall;
  344.   end;
  345.   {$HPPEMIT 'typedef System::DelphiInterface<IWMIndexer> _di_IWMIndexer;'}
  346.   {$EXTERNALSYM IWMIndexer}
  347.   IWMIndexer = interface(IUnknown)
  348.     ['{6D7CDC71-9888-11D3-8EDC-00C04F6109CF}']
  349.     (*** IWMIndexer methods ***)
  350.     // Start is an asynchronous call; it returns almost immediately and the user
  351.     // should wait for appropriate OnStatus calls to be sent to the callback.
  352.     function StartIndexing(pwszURL: PWideChar; pCallback: IWMStatusCallback;
  353.                            pvContext: Pointer): HResult; stdcall;
  354.     function Cancel: HResult; stdcall;
  355.   end;
  356.   {$HPPEMIT 'typedef System::DelphiInterface<IWMIndexer2> _di_IWMIndexer2;'}
  357.   {$EXTERNALSYM IWMIndexer2}
  358.   IWMIndexer2 = interface(IWMIndexer)
  359.     ['{B70F1E42-6255-4DF0-A6B9-02B212D9E2BB}']
  360.     (*** IWMIndexer2 methods ***)
  361.     function Configure(wStreamNum: Word; nIndexerType: TWMTIndexType;
  362.                        pvInterval: Pointer; pvIndexType: Pointer): HResult; stdcall;
  363.   end;
  364.   {$HPPEMIT 'typedef System::DelphiInterface<IWMLicenseBackup> _di_IWMLicenseBackup;'}
  365.   {$EXTERNALSYM IWMLicenseBackup}
  366.   IWMLicenseBackup = interface(IUnknown)
  367.     ['{05E5AC9F-3FB6-4508-BB43-A4067BA1EBE8}']
  368.     (*** IWMLicenseBackup methods ***)
  369.     function BackupLicenses(dwFlags: LongWord; pCallback: IWMStatusCallback): HResult; stdcall;
  370.     function CancelLicenseBackup: HResult; stdcall;
  371.   end;
  372.   {$HPPEMIT 'typedef System::DelphiInterface<IWMLicenseRestore> _di_IWMLicenseRestore;'}
  373.   {$EXTERNALSYM IWMLicenseRestore}
  374.   IWMLicenseRestore = interface(IUnknown)
  375.     ['{C70B6334-A22E-4EFB-A245-15E65A004A13}']
  376.     (*** IWMLicenseRestore methods ***)
  377.     function RestoreLicenses(dwFlags: LongWord; pCallback: IWMStatusCallback): HResult; stdcall;
  378.     function CancelLicenseRestore: HResult; stdcall;
  379.   end;
  380.   {$HPPEMIT 'typedef System::DelphiInterface<IWMBackupRestoreProps> _di_IWMBackupRestoreProps;'}
  381.   {$EXTERNALSYM IWMBackupRestoreProps}
  382.   IWMBackupRestoreProps = interface(IUnknown)
  383.     ['{3C8E0DA6-996F-4FF3-A1AF-4838F9377E2E}']
  384.     (*** IWMBackupRestoreProps methods ***)
  385.     function GetPropCount(out pcProps: Word): HResult; stdcall;
  386.     function GetPropByIndex(wIndex: Word; {out} pwszName: PWideChar; var pcchNameLen: Word;
  387.                             out pType: TWMTAttrDataType; {out} pValue: PByte; var pcbLength: Word): HResult; stdcall;
  388.     function GetPropByName(pszName: PWideChar; out pType: TWMTAttrDataType; {out} pValue: PByte;
  389.                            var pcbLength: Word): HResult; stdcall;
  390.     function SetProp(pszName: PWideChar; Type_: TWMTAttrDataType; pValue: PByte; cbLength: Word): HResult; stdcall;
  391.     function RemoveProp(pcwszName: PWideChar): HResult; stdcall;
  392.     function RemoveAllProps: HResult; stdcall;
  393.   end;
  394.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecInfo> _di_IWMCodecInfo;'}
  395.   {$EXTERNALSYM IWMCodecInfo}
  396.   IWMCodecInfo = interface(IUnknown)
  397.     ['{A970F41E-34DE-4A98-B3BA-E4B3CA7528F0}']
  398.     (*** IWMCodecInfo methods ***)
  399.     function GetCodecInfoCount(const guidType: TGUID; out pcCodecs: LongWord): HResult; stdcall;
  400.     function GetCodecFormatCount(const guidType: TGUID; dwCodecIndex: LongWord; out pcFormat: LongWord): HResult; stdcall;
  401.     function GetCodecFormat(const guidType: TGUID; dwCodecIndex: LongWord; dwFormatIndex: LongWord;
  402.                             out ppIStreamConfig: IWMStreamConfig): HResult; stdcall;
  403.   end;
  404.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecInfo2> _di_IWMCodecInfo2;'}
  405.   {$EXTERNALSYM IWMCodecInfo2}
  406.   IWMCodecInfo2 = interface(IWMCodecInfo)
  407.     ['{AA65E273-B686-4056-91EC-DD768D4DF710}']
  408.     (*** IWMCodecInfo2 methods ***)
  409.     function GetCodecName(const guidType: TGUID; dwCodecIndex: LongWord; {out} wszName: PWideChar;
  410.                           var pcchName: LongWord): HResult; stdcall;
  411.     function GetCodecFormatDesc(const guidType: TGUID; dwCodecIndex: LongWord;
  412.                                 dwFormatIndex: LongWord; out ppIStreamConfig: IWMStreamConfig;
  413.                                 {out} wszDesc: PWideChar; var pcchDesc: LongWord): HResult; stdcall;
  414.   end;
  415.   {$HPPEMIT 'typedef System::DelphiInterface<IWMCodecInfo3> _di_IWMCodecInfo3;'}
  416.   {$EXTERNALSYM IWMCodecInfo3}
  417.   IWMCodecInfo3 = interface(IWMCodecInfo2)
  418.     ['{7E51F487-4D93-4F98-8AB4-27D0565ADC51}']
  419.     (*** IWMCodecInfo3 methods ***)
  420.     function GetCodecFormatProp(const guidType: TGUID; dwCodecIndex: LongWord;
  421.                                 dwFormatIndex: LongWord; pszName: PWideChar; 
  422.                                 out pType: TWMTAttrDataType; {out} pValue: PByte;
  423.                                 var pdwSize: LongWord): HResult; stdcall;
  424.     function GetCodecProp(const guidType: TGUID; dwCodecIndex: LongWord; pszName: PWideChar;
  425.                           out pType: TWMTAttrDataType; {out} pValue: PByte; var pdwSize: LongWord): HResult; stdcall;
  426.     function SetCodecEnumerationSetting(const guidType: TGUID; dwCodecIndex: LongWord;
  427.                                         pszName: PWideChar; Type_: TWMTAttrDataType;
  428.                                         {in} pValue: PByte; dwSize: LongWord): HResult; stdcall;
  429.     function GetCodecEnumerationSetting(const guidType: TGUID; dwCodecIndex: LongWord;
  430.                                         pszName: PWideChar; out pType: TWMTAttrDataType;
  431.                                         {out} pValue: PByte; var pdwSize: LongWord): HResult; stdcall;
  432.   end;
  433.   {$HPPEMIT 'typedef System::DelphiInterface<IWMLanguageList> _di_IWMLanguageList;'}
  434.   {$EXTERNALSYM IWMLanguageList}
  435.   IWMLanguageList = interface(IUnknown)
  436.     ['{DF683F00-2D49-4D8E-92B7-FB19F6A0DC57}']
  437.     (*** IWMLanguageList methods ***)
  438.     function GetLanguageCount(out pwCount: Word): HResult; stdcall;
  439.     function GetLanguageDetails(wIndex: Word; {out} pwszLanguageString: PWideChar;
  440.                                 var pcchLanguageStringLength: Word): HResult; stdcall;
  441.     function AddLanguageByRFC1766String(pwszLanguageString: PWideChar; out pwIndex: Word): HResult; stdcall;
  442.   end;
  443.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWriterPushSink> _di_IWMWriterPushSink;'}
  444.   {$EXTERNALSYM IWMWriterPushSink}
  445.   IWMWriterPushSink = interface(IWMWriterSink)
  446.     ['{DC10E6A5-072C-467D-BF57-6330A9DDE12A}']
  447.     (*** IWMWriterPushSink methods ***)
  448.     // Connect to a publishing point on the server.
  449.     // If the publishing point does not exist, and pwszTemplateURL is
  450.     // non-NULL, an attempt will be made to create a new publishing point based
  451.     // on the template URL.
  452.     function Connect(pwszURL: PWideChar; pwszTemplateURL: PWideChar; fAutoDestroy: BOOL): HResult; stdcall;
  453.     // Terminate the control connection with the downstream server. The data path on the
  454.     // downstream server remains active for 5 minutes after which it is cleaned up.
  455.     function Disconnect: HResult; stdcall;
  456.     // Gracefully end the push distribution session. This shuts down the data path on
  457.     // the server for the publishing point.
  458.     function EndSession: HResult; stdcall;
  459.   end;
  460.   // The writer can be QI'd for this interface to enumerate all of the
  461.   // watermark DMOs installed on a system.
  462.   {$HPPEMIT 'typedef System::DelphiInterface<IWMWatermarkInfo> _di_IWMWatermarkInfo;'}
  463.   {$EXTERNALSYM IWMWatermarkInfo}
  464.   IWMWatermarkInfo = interface(IUnknown)
  465.     ['{6F497062-F2E2-4624-8EA7-9DD40D81FC8D}']
  466.     (*** IWMWatermarkInfo methods ***)
  467.     function GetWatermarkEntryCount(wmetType: TWMTWatermarkEntryType; out pdwCount: LongWord): HResult; stdcall;
  468.     function GetWatermarkEntry(wmetType: TWMTWatermarkEntryType; dwEntryNum: LongWord;
  469.                                out pEntry: TWMTWatermarkEntry): HResult; stdcall;
  470.   end;
  471.   // The Reader can be QI'ed for this interface for DirectX-VA support
  472.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderAccelerator> _di_IWMReaderAccelerator;'}
  473.   {$EXTERNALSYM IWMReaderAccelerator}
  474.   IWMReaderAccelerator = interface(IUnknown)
  475.     ['{BDDC4D08-944D-4D52-A612-46C3FDA07DD4}']
  476.     (*** IWMReaderAccelerator methods ***)
  477.     function GetCodecInterface(dwOutputNum: LongWord; const riid: TGUID;
  478.                                out ppvCodecInterface: Pointer): HResult; stdcall;
  479.     function Notify(dwOutputNum: LongWord; pSubtype: PWMMediaType): HResult; stdcall;
  480.   end;
  481.   {$HPPEMIT 'typedef System::DelphiInterface<IWMReaderTimecode> _di_IWMReaderTimecode;'}
  482.   {$EXTERNALSYM IWMReaderTimecode}
  483.   IWMReaderTimecode = interface(IUnknown)
  484.     ['{F369E2F0-E081-4FE6-8450-B810B2F410D1}']
  485.     (*** IWMReaderTimecode methods ***)
  486.     // Get the number of ranges of timecode data for a given stream in the file.
  487.     // Returns 0 if there is no timecode index for the specified stream.
  488.     function GetTimecodeRangeCount(wStreamNum: Word; out pwRangeCount: Word): HResult; stdcall;
  489.     // Gets the first and last timecode available for a given range.
  490.     function GetTimecodeRangeBounds(wStreamNum: Word; wRangeNum: Word;
  491.                                     out pStartTimecode: LongWord; out pEndTimecode: LongWord): HResult; stdcall;
  492.   end;
  493.   {$HPPEMIT 'typedef System::DelphiInterface<IWMAddressAccess> _di_IWMAddressAccess;'}
  494.   {$EXTERNALSYM IWMAddressAccess}
  495.   IWMAddressAccess = interface(IUnknown)
  496.     ['{BB3C6389-1633-4E92-AF14-9F3173BA39D0}']
  497.     (*** IWMAddressAccess methods ***)
  498.     // Determine the number of access list entries (by type)
  499.     function GetAccessEntryCount(aeType: WM_AETYPE; out pcEntries: LongWord): HResult; stdcall;
  500.     // Retrieve a single address access entry (by type)
  501.     function GetAccessEntry(aeType: WM_AETYPE; dwEntryNum: LongWord;
  502.                             out pAddrAccessEntry: TWMAddressAccessEntry): HResult; stdcall;
  503.     // Add a single address access entry
  504.     function AddAccessEntry(aeType: WM_AETYPE; pAddrAccessEntry: PWMAddressAccessEntry): HResult; stdcall;
  505.     // Remove a single address access entry (by type)
  506.     function RemoveAccessEntry(aeType: WM_AETYPE; dwEntryNum: LongWord): HResult; stdcall;
  507.   end;
  508.   {$HPPEMIT 'typedef System::DelphiInterface<IWMAddressAccess2> _di_IWMAddressAccess2;'}
  509.   {$EXTERNALSYM IWMAddressAccess2}
  510.   IWMAddressAccess2 = interface(IWMAddressAccess)
  511.     ['{65A83FC2-3E98-4D4D-81B5-2A742886B33D}']
  512.     (*** IWMAddressAccess2 methods ***)
  513.     // Retrieve a single address access entry (by type)
  514.     function GetAccessEntryEx(aeType: WM_AETYPE; dwEntryNum: LongWord;
  515.                               out pbstrAddress: WideString; out pbstrMask: WideString): HResult; stdcall;
  516.     // Add a single address access entry
  517.     function AddAccessEntryEx(aeType: WM_AETYPE; bstrAddress: WideString;
  518.                               bstrMask: WideString): HResult; stdcall;
  519.   end;
  520.   // Used to get "APIC" ID3v2 frames
  521.   {$HPPEMIT 'typedef System::DelphiInterface<IWMImageInfo> _di_IWMImageInfo;'}
  522.   {$EXTERNALSYM IWMImageInfo}
  523.   IWMImageInfo = interface(IUnknown)
  524.     ['{9F0AA3B6-7267-4D89-88F2-BA915AA5C4C6}']
  525.     (*** IWMImageInfo methods ***)
  526.     function GetImageCount(out pcImages: LongWord): HResult; stdcall;
  527.     function GetImage(wIndex: LongWord; var pcchMIMEType: Word; {out} pwszMIMEType: PWideChar;
  528.                       var pcchDescription: Word; {out} pwszDescription: PWideChar; out pImageType: Word;
  529.                       var pcbImageData: LongWord; {out} pbImageData: PByte): HResult; stdcall;
  530.   end;
  531. //*@@@+++@@@@******************************************************************
  532. //
  533. // Microsoft Windows Media
  534. // Copyright (C) Microsoft Corporation. All rights reserved.
  535. //
  536. //*@@@---@@@@******************************************************************
  537. //
  538. const
  539.   IID_IConfigAsfWriter2       : TGUID = '{7989ccaa-53f0-44f0-884a-f3b03f6ae066}';
  540.   {$EXTERNALSYM IID_IConfigAsfWriter2}
  541.   IID_IConfigAsfWriter        : TGUID = '{45086030-F7E4-486a-B504-826BB5792A3B}';
  542.   {$EXTERNALSYM IID_IConfigAsfWriter}
  543.   IID_IAMWMBufferPass         : TGUID = '{6DD816D7-E740-4123-9E24-2444412644D8}';
  544.   {$EXTERNALSYM IID_IAMWMBufferPass}
  545.   IID_IAMWMBufferPassCallback : TGUID = '{B25B8372-D2D2-44b2-8653-1B8DAE332489}';
  546.   {$EXTERNALSYM IID_IAMWMBufferPassCallback}
  547.   EC_PREPROCESS_COMPLETE = $56;
  548.   {$EXTERNALSYM EC_PREPROCESS_COMPLETE}
  549. type
  550.   IAMWMBufferPassCallback = interface;
  551.   // Interface used to setup callback for app to set/get properties on WindowsMedia buffers that
  552.   // are passed by the ASF reader and writer filters
  553.   {$HPPEMIT 'typedef System::DelphiInterface<IAMWMBufferPass> _di_IAMWMBufferPass;'}
  554.   {$EXTERNALSYM IAMWMBufferPass}
  555.   IAMWMBufferPass = interface(IUnknown)
  556.   ['{6DD816D7-E740-4123-9E24-2444412644D8}']
  557.   (*** IAMWMBufferPass methods ***)
  558.     // set the interface to use for callback notification
  559.     function SetNotify(pCallback: IAMWMBufferPassCallback): HRESULT; stdcall;
  560.   end;
  561.   // Callback interface used to notify that a WindowMedia buffer is being passed. Typically implemented
  562.   // by the app and called by the ASF writer and reader filters.
  563.   {$HPPEMIT 'typedef System::DelphiInterface<IAMWMBufferPassCallback> _di_IAMWMBufferPassCallback;'}
  564.   {$EXTERNALSYM IAMWMBufferPassCallback}
  565.   IAMWMBufferPassCallback = interface(IUnknown)
  566.   ['{B25B8372-D2D2-44b2-8653-1B8DAE332489}']
  567.   (*** IAMWMBufferPassCallback methods ***)
  568.     //  give the callback receiver a chance to examine
  569.     //  (and act on) the INSSBuffer3 before passing on
  570.     function Notify(pNSSBuffer3: INSSBuffer3; pPin: IPin;
  571.       prtStart, prtEnd: PReferenceTime): HRESULT; stdcall;
  572.   end;
  573.   //  ASF Writer filter paramaters for IConfigAsfWriter2 interface
  574.   _AM_ASFWRITERCONFIG_PARAM = (
  575.   {$IFNDEF COMPILER6_UP}
  576.     AM_CONFIGASFWRITER_PARAM_INVALID_0,
  577.     AM_CONFIGASFWRITER_PARAM_AUTOINDEX,        // dynamic indexing, lParam1 boolean, lParam2
  578.   {$ELSE}
  579.     AM_CONFIGASFWRITER_PARAM_AUTOINDEX = 1,
  580.   {$ENDIF}
  581.     AM_CONFIGASFWRITER_PARAM_MULTIPASS,        // multipass encoding, app should be able
  582.                                                // to handle EC_PREPROCESS_COMPLETE events
  583.     AM_CONFIGASFWRITER_PARAM_DONTCOMPRESS      // configure writer to take audio and video input data
  584.                                                // as-is, without any recompression, useful for repackaging
  585.                                                // content in the ASF container
  586.   );
  587.   {$EXTERNALSYM _AM_ASFWRITERCONFIG_PARAM}
  588.   TAMASFWriterConfigParam = _AM_ASFWRITERCONFIG_PARAM;
  589.   // Interface to control the ASF writer (version 2)
  590.   {$HPPEMIT 'typedef System::DelphiInterface<IConfigAsfWriter2> _di_IConfigAsfWriter2;'}
  591.   {$EXTERNALSYM IConfigAsfWriter2}
  592.   IConfigAsfWriter2 = interface(IConfigAsfWriter)
  593.   ['{7989CCAA-53F0-44f0-884A-F3B03F6AE066}']
  594.   (*** IConfigAsfWriter2 methods ***)
  595.     // Helper method to allow caller to pass in a pin pointer and get back the associated
  596.     // stream number. This is helpful when using WMF SDK interfaces directly to work with
  597.     // stream-specific properties.
  598.     function StreamNumFromPin(pPin: IPin; out pwStreamNum: WORD): HRESULT; stdcall;
  599.     // Set value corresponding to the passed in parameter id
  600.     function SetParam(dwParam: TAMASFWriterConfigParam; dwParam1, dwParam2 {not used, must be 0}: LongWord): HRESULT; stdcall;
  601.     // Get value corresponding to the passed in parameter id
  602.     function GetParam(dwParam: LongWord; out pdwParam1, pdwParam2 {not used, must be 0}: LongWord): HRESULT; stdcall;
  603.     // Multipass encoding
  604.     function ResetMultiPassState: HRESULT; stdcall;
  605.   end;
  606.   // Interface to control the ASF writer
  607.   {$HPPEMIT 'typedef System::DelphiInterface<IConfigAsfWriter> _di_IConfigAsfWriter;'}
  608.   {$EXTERNALSYM IConfigAsfWriter}
  609.   IConfigAsfWriter = interface(IUnknown)
  610.   ['{45086030-F7E4-486a-B504-826BB5792A3B}']
  611.   (*** IConfigAsfWriter methods ***)
  612.     // The user is expected to enumerate profiles using the wmsdk IWMProfileManager
  613.     // method and then pass the desired profile index to the ASF Writer filter via this
  614.     // method. The filter will then try to configure itself for the selected profile.
  615.     //
  616.     // NOTE: The following 2 XXXProfileId methods are obsolete and their use is not recommended.
  617.     //       Once the WMF SDK added the notion of profile versions, their behavior became ambiguous.
  618.     //       At the time of this release (Corona) the methods will assume use of the default profile
  619.     //       version number and make no attempt to override that. For instance, in the Corona release
  620.     //       version 9 profiles are assumed.
  621.     //
  622.     //       Instead, it is recommended that apps use the XXXProfile methods which take the IWMProfile*
  623.     //       directly or the ProfileGuid methods which take a profile GUID.
  624.     function ConfigureFilterUsingProfileId(dwProfileId: LongWord): HRESULT; stdcall;
  625.     function GetCurrentProfileId(out pdwProfileId: LongWord): HRESULT; stdcall;
  626.     //
  627.     // configure using a pre-defined wmsdk profile guid
  628.     //
  629.     function ConfigureFilterUsingProfileGuid(const guidProfile: TGUID): HRESULT; stdcall;
  630.     function GetCurrentProfileGuid(out pProfileGuid: TGUID): HRESULT; stdcall;
  631.     //
  632.     // Use these methods when a custom profile setup is preferred
  633.     //
  634.     function ConfigureFilterUsingProfile(pProfile: IWMProfile): HRESULT; stdcall;
  635.     function GetCurrentProfile(out ppProfile: IWMProfile): HRESULT; stdcall;
  636.     //
  637.     // allow app to control whether or not to index file
  638.     //
  639.     function SetIndexMode(bIndexFile: BOOL): HRESULT; stdcall;
  640.     function GetIndexMode(out pbIndexFile: BOOL): HRESULT; stdcall;
  641.   end;
  642. //    Microsoft Windows Media Technology
  643. //    Copyright (C) Microsoft Corporation.  All Rights Reserved.
  644. //
  645. //  Module Name:
  646. //      nserror.h
  647. //
  648. //  Abstract:
  649. //      Definitions for Windows Media events.
  650. //
  651. //   Here are the commented error ranges for the Windows Media Technologies Group
  652. //
  653. //   LEGACY RANGES
  654. //
  655. //       0  -  199 = General NetShow errors
  656. //     200  -  399 = NetShow error events
  657. //     400  -  599 = NetShow monitor events
  658. //     600  -  799 = NetShow IMmsAutoServer errors
  659. //    1000  - 1199 = NetShow MCMADM errors
  660. //
  661. //
  662. //   NEW RANGES
  663. //
  664. //    2000 -  2999 = ASF (defined in ASFERR.MC)
  665. //    3000 -  3999 = Windows Media SDK
  666. //    4000 -  4999 = Windows Media Player
  667. //    5000 -  5999 = Windows Media Server
  668. //    6000 -  6999 = Windows Media HTTP/RTSP result codes (defined in NETERROR.MC)
  669. //    7000 -  7999 = Windows Media Tools
  670. //    8000 -  8999 = Windows Media Content Discovery
  671. //    9000 -  9999 = Windows Media Real Time Collaboration
  672. //   10000 - 10999 = Windows Media Digital Rights Management
  673. //   11000 - 11999 = Windows Media Setup
  674. //   12000 - 12999 = Windows Media Networking
  675. //   13000 - 13999 = Windows Media Client Media Services
  676. //#define STATUS_SEVERITY(hr)  (((hr) >> 30) & 0x3)
  677. /////////////////////////////////////////////////////////////////////////
  678. //
  679. // NETSHOW Success Events
  680. //
  681. /////////////////////////////////////////////////////////////////////////
  682. //
  683. //  Values are 32 bit values layed out as follows:
  684. //
  685. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  686. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  687. //  +---+-+-+-----------------------+-------------------------------+
  688. //  |Sev|C|R|     Facility          |               Code            |
  689. //  +---+-+-+-----------------------+-------------------------------+
  690. //
  691. //  where
  692. //
  693. //      Sev - is the severity code
  694. //
  695. //          00 - Success
  696. //          01 - Informational
  697. //          10 - Warning
  698. //          11 - Error
  699. //
  700. //      C - is the Customer code flag
  701. //
  702. //      R - is a reserved bit
  703. //
  704. //      Facility - is the facility code
  705. //
  706. //      Code - is the facility's status code
  707. //
  708. //
  709. // Define the facility codes
  710. //
  711. const
  712.   FACILITY_NS_WIN32               = $7;
  713.   {$EXTERNALSYM FACILITY_NS_WIN32}
  714.   FACILITY_NS                     = $D;
  715.   {$EXTERNALSYM FACILITY_NS}
  716. //
  717. // Define the severity codes
  718. //
  719.   STATUS_SEVERITY_WARNING          = $2;
  720.   {$EXTERNALSYM STATUS_SEVERITY_WARNING}
  721.   STATUS_SEVERITY_SUCCESS          = $0;
  722.   {$EXTERNALSYM STATUS_SEVERITY_SUCCESS}
  723.   STATUS_SEVERITY_INFORMATIONAL    = $1;
  724.   {$EXTERNALSYM STATUS_SEVERITY_INFORMATIONAL}
  725.   STATUS_SEVERITY_ERROR            = $3;
  726.   {$EXTERNALSYM STATUS_SEVERITY_ERROR}
  727. //
  728. // MessageId: NS_S_CALLPENDING
  729. //
  730. // MessageText:
  731. //
  732. //  The requested operation is pending completion.%0
  733. //
  734.   NS_S_CALLPENDING                 = HRESULT($000D0000);
  735.   {$EXTERNALSYM NS_S_CALLPENDING}
  736. //
  737. // MessageId: NS_S_CALLABORTED
  738. //
  739. // MessageText:
  740. //
  741. //  The requested operation was aborted by the client.%0
  742.   NS_S_CALLABORTED                 = HRESULT($000D0001);
  743.   {$EXTERNALSYM NS_S_CALLABORTED}
  744. //
  745. // MessageId: NS_S_STREAM_TRUNCATED
  746. //
  747. // MessageText:
  748. //
  749. //  The stream was purposefully stopped before completion.%0
  750. //
  751.   NS_S_STREAM_TRUNCATED            = HRESULT($000D0002);
  752.   {$EXTERNALSYM NS_S_STREAM_TRUNCATED}
  753. /////////////////////////////////////////////////////////////////////////
  754. //
  755. // NETSHOW Warning Events
  756. //
  757. /////////////////////////////////////////////////////////////////////////
  758. //
  759. // MessageId: NS_W_SERVER_BANDWIDTH_LIMIT
  760. //
  761. // MessageText:
  762. //
  763. //  The maximum filebitrate value specified is greater than the server's configured maximum bandwidth.%0
  764. //
  765.   NS_W_SERVER_BANDWIDTH_LIMIT      = HRESULT($800D0003);
  766.   {$EXTERNALSYM NS_W_SERVER_BANDWIDTH_LIMIT}
  767. //
  768. // MessageId: NS_W_FILE_BANDWIDTH_LIMIT
  769. //
  770. // MessageText:
  771. //
  772. //  The maximum bandwidth value specified is less than the maximum filebitrate.%0
  773. //
  774.   NS_W_FILE_BANDWIDTH_LIMIT        = HRESULT($800D0004);
  775.   {$EXTERNALSYM NS_W_FILE_BANDWIDTH_LIMIT}
  776. /////////////////////////////////////////////////////////////////////////
  777. //
  778. // NETSHOW Error Events
  779. //
  780. /////////////////////////////////////////////////////////////////////////
  781. //
  782. // MessageId: NS_E_NOCONNECTION
  783. //
  784. // MessageText:
  785. //
  786. //  There is no connection established with the Windows Media server. The operation failed.%0
  787. //
  788.   NS_E_NOCONNECTION                = HRESULT($C00D0005);
  789.   {$EXTERNALSYM NS_E_NOCONNECTION}
  790. //
  791. // MessageId: NS_E_CANNOTCONNECT
  792. //
  793. // MessageText:
  794. //
  795. //  Unable to establish a connection to the server.%0
  796. //
  797.   NS_E_CANNOTCONNECT               = HRESULT($C00D0006);
  798.   {$EXTERNALSYM NS_E_CANNOTCONNECT}
  799. //
  800. // MessageId: NS_E_CANNOTDESTROYTITLE
  801. //
  802. // MessageText:
  803. //
  804. //  Unable to destroy the title.%0
  805. //
  806.   NS_E_CANNOTDESTROYTITLE          = HRESULT($C00D0007);
  807.   {$EXTERNALSYM NS_E_CANNOTDESTROYTITLE}
  808. //
  809. // MessageId: NS_E_CANNOTRENAMETITLE
  810. //
  811. // MessageText:
  812. //
  813. //  Unable to rename the title.%0
  814. //
  815.   NS_E_CANNOTRENAMETITLE           = HRESULT($C00D0008);
  816.   {$EXTERNALSYM NS_E_CANNOTRENAMETITLE}
  817. //
  818. // MessageId: NS_E_CANNOTOFFLINEDISK
  819. //
  820. // MessageText:
  821. //
  822. //  Unable to offline disk.%0
  823. //
  824.   NS_E_CANNOTOFFLINEDISK           = HRESULT($C00D0009);
  825.   {$EXTERNALSYM NS_E_CANNOTOFFLINEDISK}
  826. //
  827. // MessageId: NS_E_CANNOTONLINEDISK
  828. //
  829. // MessageText:
  830. //
  831. //  Unable to online disk.%0
  832. //
  833.   NS_E_CANNOTONLINEDISK            = HRESULT($C00D000A);
  834.   {$EXTERNALSYM NS_E_CANNOTONLINEDISK}
  835. //
  836. // MessageId: NS_E_NOREGISTEREDWALKER
  837. //
  838. // MessageText:
  839. //
  840. //  There is no file parser registered for this type of file.%0
  841. //
  842.   NS_E_NOREGISTEREDWALKER          = HRESULT($C00D000B);
  843.   {$EXTERNALSYM NS_E_NOREGISTEREDWALKER}
  844. //
  845. // MessageId: NS_E_NOFUNNEL
  846. //
  847. // MessageText:
  848. //
  849. //  There is no data connection established.%0
  850. //
  851.   NS_E_NOFUNNEL                    = HRESULT($C00D000C);
  852.   {$EXTERNALSYM NS_E_NOFUNNEL}
  853. //
  854. // MessageId: NS_E_NO_LOCALPLAY
  855. //
  856. // MessageText:
  857. //
  858. //  Failed to load the local play DLL.%0
  859. //
  860.   NS_E_NO_LOCALPLAY                = HRESULT($C00D000D);
  861.   {$EXTERNALSYM NS_E_NO_LOCALPLAY}
  862. //
  863. // MessageId: NS_E_NETWORK_BUSY
  864. //
  865. // MessageText:
  866. //
  867. //  The network is busy.%0
  868. //
  869.   NS_E_NETWORK_BUSY                = HRESULT($C00D000E);
  870.   {$EXTERNALSYM NS_E_NETWORK_BUSY}
  871. //
  872. // MessageId: NS_E_TOO_MANY_SESS
  873. //
  874. // MessageText:
  875. //
  876. //  The server session limit was exceeded.%0
  877. //
  878.   NS_E_TOO_MANY_SESS               = HRESULT($C00D000F);
  879.   {$EXTERNALSYM NS_E_TOO_MANY_SESS}
  880. //
  881. // MessageId: NS_E_ALREADY_CONNECTED
  882. //
  883. // MessageText:
  884. //
  885. //  The network connection already exists.%0
  886. //
  887.   NS_E_ALREADY_CONNECTED           = HRESULT($C00D0010);
  888.   {$EXTERNALSYM NS_E_ALREADY_CONNECTED}
  889. //
  890. // MessageId: NS_E_INVALID_INDEX
  891. //
  892. // MessageText:
  893. //
  894. //  Index %1 is invalid.%0
  895. //
  896.   NS_E_INVALID_INDEX               = HRESULT($C00D0011);
  897.   {$EXTERNALSYM NS_E_INVALID_INDEX}
  898. //
  899. // MessageId: NS_E_PROTOCOL_MISMATCH
  900. //
  901. // MessageText:
  902. //
  903. //  There is no protocol or protocol version supported by both the client and the server.%0
  904. //
  905.   NS_E_PROTOCOL_MISMATCH           = HRESULT($C00D0012);
  906.   {$EXTERNALSYM NS_E_PROTOCOL_MISMATCH}
  907. //
  908. // MessageId: NS_E_TIMEOUT
  909. //
  910. // MessageText:
  911. //
  912. //  The server, a computer set up to offer multimedia content to other computers, could not handle your request for multimedia content in a timely manner.  Please try again later.%0
  913. //
  914.   NS_E_TIMEOUT                     = HRESULT($C00D0013);
  915.   {$EXTERNALSYM NS_E_TIMEOUT}
  916. //
  917. // MessageId: NS_E_NET_WRITE
  918. //
  919. // MessageText:
  920. //
  921. //  Error writing to the network.%0
  922. //
  923.   NS_E_NET_WRITE                   = HRESULT($C00D0014);
  924.   {$EXTERNALSYM NS_E_NET_WRITE}
  925. //
  926. // MessageId: NS_E_NET_READ
  927. //
  928. // MessageText:
  929. //
  930. //  Error reading from the network.%0
  931. //
  932.   NS_E_NET_READ                    = HRESULT($C00D0015);
  933.   {$EXTERNALSYM NS_E_NET_READ}
  934. //
  935. // MessageId: NS_E_DISK_WRITE
  936. //
  937. // MessageText:
  938. //
  939. //  Error writing to a disk.%0
  940. //
  941.   NS_E_DISK_WRITE                  = HRESULT($C00D0016);
  942.   {$EXTERNALSYM NS_E_DISK_WRITE}
  943. //
  944. // MessageId: NS_E_DISK_READ
  945. //
  946. // MessageText:
  947. //
  948. //  Error reading from a disk.%0
  949. //
  950.   NS_E_DISK_READ                   = HRESULT($C00D0017);
  951.   {$EXTERNALSYM NS_E_DISK_READ}
  952. //
  953. // MessageId: NS_E_FILE_WRITE
  954. //
  955. // MessageText:
  956. //
  957. //  Error writing to a file.%0
  958. //
  959.   NS_E_FILE_WRITE                  = HRESULT($C00D0018);
  960.   {$EXTERNALSYM NS_E_FILE_WRITE}
  961. //
  962. // MessageId: NS_E_FILE_READ
  963. //
  964. // MessageText:
  965. //
  966. //  Error reading from a file.%0
  967. //
  968.   NS_E_FILE_READ                   = HRESULT($C00D0019);
  969.   {$EXTERNALSYM NS_E_FILE_READ}
  970. //
  971. // MessageId: NS_E_FILE_NOT_FOUND
  972. //
  973. // MessageText:
  974. //
  975. //  The system cannot find the file specified.%0
  976. //
  977.   NS_E_FILE_NOT_FOUND              = HRESULT($C00D001A);
  978.   {$EXTERNALSYM NS_E_FILE_NOT_FOUND}
  979. //
  980. // MessageId: NS_E_FILE_EXISTS
  981. //
  982. // MessageText:
  983. //
  984. //  The file already exists.%0
  985. //
  986.   NS_E_FILE_EXISTS                 = HRESULT($C00D001B);
  987.   {$EXTERNALSYM NS_E_FILE_EXISTS}
  988. //
  989. // MessageId: NS_E_INVALID_NAME
  990. //
  991. // MessageText:
  992. //
  993. //  The file name, directory name, or volume label syntax is incorrect.%0
  994. //
  995.   NS_E_INVALID_NAME                = HRESULT($C00D001C);
  996.   {$EXTERNALSYM NS_E_INVALID_NAME}
  997. //
  998. // MessageId: NS_E_FILE_OPEN_FAILED
  999. //
  1000. // MessageText:
  1001. //
  1002. //  Failed to open a file.%0
  1003. //
  1004.   NS_E_FILE_OPEN_FAILED            = HRESULT($C00D001D);
  1005.   {$EXTERNALSYM NS_E_FILE_OPEN_FAILED}
  1006. //
  1007. // MessageId: NS_E_FILE_ALLOCATION_FAILED
  1008. //
  1009. // MessageText:
  1010. //
  1011. //  Unable to allocate a file.%0
  1012. //
  1013.   NS_E_FILE_ALLOCATION_FAILED      = HRESULT($C00D001E);
  1014.   {$EXTERNALSYM NS_E_FILE_ALLOCATION_FAILED}
  1015. //
  1016. // MessageId: NS_E_FILE_INIT_FAILED
  1017. //
  1018. // MessageText:
  1019. //
  1020. //  Unable to initialize a file.%0
  1021. //
  1022.   NS_E_FILE_INIT_FAILED            = HRESULT($C00D001F);
  1023.   {$EXTERNALSYM NS_E_FILE_INIT_FAILED}
  1024. //
  1025. // MessageId: NS_E_FILE_PLAY_FAILED
  1026. //
  1027. // MessageText:
  1028. //
  1029. //  Unable to play a file.%0
  1030. //
  1031.   NS_E_FILE_PLAY_FAILED            = HRESULT($C00D0020);
  1032.   {$EXTERNALSYM NS_E_FILE_PLAY_FAILED}
  1033. //
  1034. // MessageId: NS_E_SET_DISK_UID_FAILED
  1035. //
  1036. // MessageText:
  1037. //
  1038. //  Could not set the disk UID.%0
  1039. //
  1040.   NS_E_SET_DISK_UID_FAILED         = HRESULT($C00D0021);
  1041.   {$EXTERNALSYM NS_E_SET_DISK_UID_FAILED}
  1042. //
  1043. // MessageId: NS_E_INDUCED
  1044. //
  1045. // MessageText:
  1046. //
  1047. //  An error was induced for testing purposes.%0
  1048. //
  1049.   NS_E_INDUCED                     = HRESULT($C00D0022);
  1050.   {$EXTERNALSYM NS_E_INDUCED}
  1051. //
  1052. // MessageId: NS_E_CCLINK_DOWN
  1053. //
  1054. // MessageText:
  1055. //
  1056. //  Two Content Servers failed to communicate.%0
  1057. //
  1058.   NS_E_CCLINK_DOWN                 = HRESULT($C00D0023);
  1059.   {$EXTERNALSYM NS_E_CCLINK_DOWN}
  1060. //
  1061. // MessageId: NS_E_INTERNAL
  1062. //
  1063. // MessageText:
  1064. //
  1065. //  An unknown error occurred.%0
  1066. //
  1067.   NS_E_INTERNAL                    = HRESULT($C00D0024);
  1068.   {$EXTERNALSYM NS_E_INTERNAL}
  1069. //
  1070. // MessageId: NS_E_BUSY
  1071. //
  1072. // MessageText:
  1073. //
  1074. //  The requested resource is in use.%0
  1075. //
  1076.   NS_E_BUSY                        = HRESULT($C00D0025);
  1077.   {$EXTERNALSYM NS_E_BUSY}
  1078. //
  1079. // MessageId: NS_E_UNRECOGNIZED_STREAM_TYPE
  1080. //
  1081. // MessageText:
  1082. //
  1083. //  The specified protocol is not recognized. Be sure that the file name and syntax, such as slashes, are correct for the protocol.%0
  1084. //
  1085.   NS_E_UNRECOGNIZED_STREAM_TYPE    = HRESULT($C00D0026);
  1086.   {$EXTERNALSYM NS_E_UNRECOGNIZED_STREAM_TYPE}
  1087. //
  1088. // MessageId: NS_E_NETWORK_SERVICE_FAILURE
  1089. //
  1090. // MessageText:
  1091. //
  1092. //  The network service provider failed.%0
  1093. //
  1094.   NS_E_NETWORK_SERVICE_FAILURE     = HRESULT($C00D0027);
  1095.   {$EXTERNALSYM NS_E_NETWORK_SERVICE_FAILURE}
  1096. //
  1097. // MessageId: NS_E_NETWORK_RESOURCE_FAILURE
  1098. //
  1099. // MessageText:
  1100. //
  1101. //  An attempt to acquire a network resource failed.%0
  1102. //
  1103.   NS_E_NETWORK_RESOURCE_FAILURE    = HRESULT($C00D0028);
  1104.   {$EXTERNALSYM NS_E_NETWORK_RESOURCE_FAILURE}
  1105. //
  1106. // MessageId: NS_E_CONNECTION_FAILURE
  1107. //
  1108. // MessageText:
  1109. //
  1110. //  The network connection has failed.%0
  1111. //
  1112.   NS_E_CONNECTION_FAILURE          = HRESULT($C00D0029);
  1113.   {$EXTERNALSYM NS_E_CONNECTION_FAILURE}
  1114. //
  1115. // MessageId: NS_E_SHUTDOWN
  1116. //
  1117. // MessageText:
  1118. //
  1119. //  The session is being terminated locally.%0
  1120. //
  1121.   NS_E_SHUTDOWN                    = HRESULT($C00D002A);
  1122.   {$EXTERNALSYM NS_E_SHUTDOWN}
  1123. //
  1124. // MessageId: NS_E_INVALID_REQUEST
  1125. //
  1126. // MessageText:
  1127. //
  1128. //  The request is invalid in the current state.%0
  1129. //
  1130.   NS_E_INVALID_REQUEST             = HRESULT($C00D002B);
  1131.   {$EXTERNALSYM NS_E_INVALID_REQUEST}
  1132. //
  1133. // MessageId: NS_E_INSUFFICIENT_BANDWIDTH
  1134. //
  1135. // MessageText:
  1136. //
  1137. //  There is insufficient bandwidth available to fulfill the request.%0
  1138. //
  1139.   NS_E_INSUFFICIENT_BANDWIDTH      = HRESULT($C00D002C);
  1140.   {$EXTERNALSYM NS_E_INSUFFICIENT_BANDWIDTH}
  1141. //
  1142. // MessageId: NS_E_NOT_REBUILDING
  1143. //
  1144. // MessageText:
  1145. //
  1146. //  The disk is not rebuilding.%0
  1147. //
  1148.   NS_E_NOT_REBUILDING              = HRESULT($C00D002D);
  1149.   {$EXTERNALSYM NS_E_NOT_REBUILDING}
  1150. //
  1151. // MessageId: NS_E_LATE_OPERATION
  1152. //
  1153. // MessageText:
  1154. //
  1155. //  An operation requested for a particular time could not be carried out on schedule.%0
  1156. //
  1157.   NS_E_LATE_OPERATION              = HRESULT($C00D002E);
  1158.   {$EXTERNALSYM NS_E_LATE_OPERATION}
  1159. //
  1160. // MessageId: NS_E_INVALID_DATA
  1161. //
  1162. // MessageText:
  1163. //
  1164. //  Invalid or corrupt data was encountered.%0
  1165. //
  1166.   NS_E_INVALID_DATA                = HRESULT($C00D002F);
  1167.   {$EXTERNALSYM NS_E_INVALID_DATA}
  1168. //
  1169. // MessageId: NS_E_FILE_BANDWIDTH_LIMIT
  1170. //
  1171. // MessageText:
  1172. //
  1173. //  The bandwidth required to stream a file is higher than the maximum file bandwidth allowed on the server.%0
  1174. //
  1175.   NS_E_FILE_BANDWIDTH_LIMIT        = HRESULT($C00D0030);
  1176.   {$EXTERNALSYM NS_E_FILE_BANDWIDTH_LIMIT}
  1177. //
  1178. // MessageId: NS_E_OPEN_FILE_LIMIT
  1179. //
  1180. // MessageText:
  1181. //
  1182. //  The client cannot have any more files open simultaneously.%0
  1183. //
  1184.   NS_E_OPEN_FILE_LIMIT             = HRESULT($C00D0031);
  1185.   {$EXTERNALSYM NS_E_OPEN_FILE_LIMIT}
  1186. //
  1187. // MessageId: NS_E_BAD_CONTROL_DATA
  1188. //
  1189. // MessageText:
  1190. //
  1191. //  The server received invalid data from the client on the control connection.%0
  1192. //
  1193.   NS_E_BAD_CONTROL_DATA            = HRESULT($C00D0032);
  1194.   {$EXTERNALSYM NS_E_BAD_CONTROL_DATA}
  1195. //
  1196. // MessageId: NS_E_NO_STREAM
  1197. //
  1198. // MessageText:
  1199. //
  1200. //  There is no stream available.%0
  1201. //
  1202.   NS_E_NO_STREAM                   = HRESULT($C00D0033);
  1203.   {$EXTERNALSYM NS_E_NO_STREAM}
  1204. //
  1205. // MessageId: NS_E_STREAM_END
  1206. //
  1207. // MessageText:
  1208. //
  1209. //  There is no more data in the stream.%0
  1210. //
  1211.   NS_E_STREAM_END                  = HRESULT($C00D0034);
  1212.   {$EXTERNALSYM NS_E_STREAM_END}
  1213. //
  1214. // MessageId: NS_E_SERVER_NOT_FOUND
  1215. //
  1216. // MessageText:
  1217. //
  1218. //  The specified server could not be found.%0
  1219. //
  1220.   NS_E_SERVER_NOT_FOUND            = HRESULT($C00D0035);
  1221.   {$EXTERNALSYM NS_E_SERVER_NOT_FOUND}
  1222. //
  1223. // MessageId: NS_E_DUPLICATE_NAME
  1224. //
  1225. // MessageText:
  1226. //
  1227. //  The specified name is already in use.
  1228. //
  1229.   NS_E_DUPLICATE_NAME              = HRESULT($C00D0036);
  1230.   {$EXTERNALSYM NS_E_DUPLICATE_NAME}
  1231. //
  1232. // MessageId: NS_E_DUPLICATE_ADDRESS
  1233. //
  1234. // MessageText:
  1235. //
  1236. //  The specified address is already in use.
  1237. //
  1238.   NS_E_DUPLICATE_ADDRESS           = HRESULT($C00D0037);
  1239.   {$EXTERNALSYM NS_E_DUPLICATE_ADDRESS}
  1240. //
  1241. // MessageId: NS_E_BAD_MULTICAST_ADDRESS
  1242. //
  1243. // MessageText:
  1244. //
  1245. //  The specified address is not a valid multicast address.
  1246. //
  1247.   NS_E_BAD_MULTICAST_ADDRESS       = HRESULT($C00D0038);
  1248.   {$EXTERNALSYM NS_E_BAD_MULTICAST_ADDRESS}
  1249. //
  1250. // MessageId: NS_E_BAD_ADAPTER_ADDRESS
  1251. //
  1252. // MessageText:
  1253. //
  1254. //  The specified adapter address is invalid.
  1255. //
  1256.   NS_E_BAD_ADAPTER_ADDRESS         = HRESULT($C00D0039);
  1257.   {$EXTERNALSYM NS_E_BAD_ADAPTER_ADDRESS}
  1258. //
  1259. // MessageId: NS_E_BAD_DELIVERY_MODE
  1260. //
  1261. // MessageText:
  1262. //
  1263. //  The specified delivery mode is invalid.
  1264. //
  1265.   NS_E_BAD_DELIVERY_MODE           = HRESULT($C00D003A);
  1266.   {$EXTERNALSYM NS_E_BAD_DELIVERY_MODE}
  1267. //
  1268. // MessageId: NS_E_INVALID_CHANNEL
  1269. //
  1270. // MessageText:
  1271. //
  1272. //  The specified station does not exist.
  1273. //
  1274.   NS_E_INVALID_CHANNEL             = HRESULT($C00D003B);
  1275.   {$EXTERNALSYM NS_E_INVALID_CHANNEL}
  1276. //
  1277. // MessageId: NS_E_INVALID_STREAM
  1278. //
  1279. // MessageText:
  1280. //
  1281. //  The specified stream does not exist.
  1282. //
  1283.   NS_E_INVALID_STREAM              = HRESULT($C00D003C);
  1284.   {$EXTERNALSYM NS_E_INVALID_STREAM}
  1285. //
  1286. // MessageId: NS_E_INVALID_ARCHIVE
  1287. //
  1288. // MessageText:
  1289. //
  1290. //  The specified archive could not be opened.
  1291. //
  1292.   NS_E_INVALID_ARCHIVE             = HRESULT($C00D003D);
  1293.   {$EXTERNALSYM NS_E_INVALID_ARCHIVE}
  1294. //
  1295. // MessageId: NS_E_NOTITLES
  1296. //
  1297. // MessageText:
  1298. //
  1299. //  The system cannot find any titles on the server.%0
  1300. //
  1301.   NS_E_NOTITLES                    = HRESULT($C00D003E);
  1302.   {$EXTERNALSYM NS_E_NOTITLES}
  1303. //
  1304. // MessageId: NS_E_INVALID_CLIENT
  1305. //
  1306. // MessageText:
  1307. //
  1308. //  The system cannot find the client specified.%0
  1309. //
  1310.   NS_E_INVALID_CLIENT              = HRESULT($C00D003F);
  1311.   {$EXTERNALSYM NS_E_INVALID_CLIENT}
  1312. //
  1313. // MessageId: NS_E_INVALID_BLACKHOLE_ADDRESS
  1314. //
  1315. // MessageText:
  1316. //
  1317. //  The Blackhole Address is not initialized.%0
  1318. //
  1319.   NS_E_INVALID_BLACKHOLE_ADDRESS   = HRESULT($C00D0040);
  1320.   {$EXTERNALSYM NS_E_INVALID_BLACKHOLE_ADDRESS}
  1321. //
  1322. // MessageId: NS_E_INCOMPATIBLE_FORMAT
  1323. //
  1324. // MessageText:
  1325. //
  1326. //  The station does not support the stream format.
  1327. //
  1328.   NS_E_INCOMPATIBLE_FORMAT         = HRESULT($C00D0041);
  1329.   {$EXTERNALSYM NS_E_INCOMPATIBLE_FORMAT}
  1330. //
  1331. // MessageId: NS_E_INVALID_KEY
  1332. //
  1333. // MessageText:
  1334. //
  1335. //  The specified key is not valid.
  1336. //
  1337.   NS_E_INVALID_KEY                 = HRESULT($C00D0042);
  1338.   {$EXTERNALSYM NS_E_INVALID_KEY}
  1339. //
  1340. // MessageId: NS_E_INVALID_PORT
  1341. //
  1342. // MessageText:
  1343. //
  1344. //  The specified port is not valid.
  1345. //
  1346.   NS_E_INVALID_PORT                = HRESULT($C00D0043);
  1347.   {$EXTERNALSYM NS_E_INVALID_PORT}
  1348. //
  1349. // MessageId: NS_E_INVALID_TTL
  1350. //
  1351. // MessageText:
  1352. //
  1353. //  The specified TTL is not valid.
  1354. //
  1355.   NS_E_INVALID_TTL                 = HRESULT($C00D0044);
  1356.   {$EXTERNALSYM NS_E_INVALID_TTL}
  1357. //
  1358. // MessageId: NS_E_STRIDE_REFUSED
  1359. //
  1360. // MessageText:
  1361. //
  1362. //  The request to fast forward or rewind could not be fulfilled.
  1363. //
  1364.   NS_E_STRIDE_REFUSED              = HRESULT($C00D0045);
  1365.   {$EXTERNALSYM NS_E_STRIDE_REFUSED}
  1366. //
  1367. // IMmsAutoServer Errors
  1368. //
  1369. //
  1370. // MessageId: NS_E_MMSAUTOSERVER_CANTFINDWALKER
  1371. //
  1372. // MessageText:
  1373. //
  1374. //  Unable to load the appropriate file parser.%0
  1375. //
  1376.   NS_E_MMSAUTOSERVER_CANTFINDWALKER = HRESULT($C00D0046);
  1377.   {$EXTERNALSYM NS_E_MMSAUTOSERVER_CANTFINDWALKER}
  1378. //
  1379. // MessageId: NS_E_MAX_BITRATE
  1380. //
  1381. // MessageText:
  1382. //
  1383. //  Cannot exceed the maximum bandwidth limit.%0
  1384. //
  1385.   NS_E_MAX_BITRATE                 = HRESULT($C00D0047);
  1386.   {$EXTERNALSYM NS_E_MAX_BITRATE}
  1387. //
  1388. // MessageId: NS_E_LOGFILEPERIOD
  1389. //
  1390. // MessageText:
  1391. //
  1392. //  Invalid value for LogFilePeriod.%0
  1393. //
  1394.   NS_E_LOGFILEPERIOD               = HRESULT($C00D0048);
  1395.   {$EXTERNALSYM NS_E_LOGFILEPERIOD}
  1396. //
  1397. // MessageId: NS_E_MAX_CLIENTS
  1398. //
  1399. // MessageText:
  1400. //
  1401. //  Cannot exceed the maximum client limit.%0
  1402. //  
  1403. //
  1404.   NS_E_MAX_CLIENTS                 = HRESULT($C00D0049);
  1405.   {$EXTERNALSYM NS_E_MAX_CLIENTS}
  1406. //
  1407. // MessageId: NS_E_LOG_FILE_SIZE
  1408. //
  1409. // MessageText:
  1410. //
  1411. //  The maximum log file size has been reached.%0
  1412. //  
  1413. //
  1414.   NS_E_LOG_FILE_SIZE               = HRESULT($C00D004A);
  1415.   {$EXTERNALSYM NS_E_LOG_FILE_SIZE}
  1416. //
  1417. // MessageId: NS_E_MAX_FILERATE
  1418. //
  1419. // MessageText:
  1420. //
  1421. //  Cannot exceed the maximum file rate.%0
  1422. //
  1423.   NS_E_MAX_FILERATE                = HRESULT($C00D004B);
  1424.   {$EXTERNALSYM NS_E_MAX_FILERATE}
  1425. //
  1426. // File Walker Errors
  1427. //
  1428. //
  1429. // MessageId: NS_E_WALKER_UNKNOWN
  1430. //
  1431. // MessageText:
  1432. //
  1433. //  Unknown file type.%0
  1434. //
  1435.   NS_E_WALKER_UNKNOWN              = HRESULT($C00D004C);
  1436.   {$EXTERNALSYM NS_E_WALKER_UNKNOWN}
  1437. //
  1438. // MessageId: NS_E_WALKER_SERVER
  1439. //
  1440. // MessageText:
  1441. //
  1442. //  The specified file, %1, cannot be loaded onto the specified server, %2.%0
  1443. //
  1444.   NS_E_WALKER_SERVER               = HRESULT($C00D004D);
  1445.   {$EXTERNALSYM NS_E_WALKER_SERVER}
  1446. //
  1447. // MessageId: NS_E_WALKER_USAGE
  1448. //
  1449. // MessageText:
  1450. //
  1451. //  There was a usage error with file parser.%0
  1452. //
  1453.   NS_E_WALKER_USAGE                = HRESULT($C00D004E);
  1454.   {$EXTERNALSYM NS_E_WALKER_USAGE}
  1455. /////////////////////////////////////////////////////////////////////////
  1456. //
  1457. // NETSHOW Monitor Events
  1458. //
  1459. /////////////////////////////////////////////////////////////////////////
  1460.  // Tiger Events
  1461.  // %1 is the tiger name
  1462. //
  1463. // MessageId: NS_I_TIGER_START
  1464. //
  1465. // MessageText:
  1466. //
  1467. //  The Title Server %1 is running.%0
  1468. //
  1469.   NS_I_TIGER_START                 = HRESULT($400D004F);
  1470.   {$EXTERNALSYM NS_I_TIGER_START}
  1471. //
  1472. // MessageId: NS_E_TIGER_FAIL
  1473. //
  1474. // MessageText:
  1475. //
  1476. //  The Title Server %1 has failed.%0
  1477. //
  1478.   NS_E_TIGER_FAIL                  = HRESULT($C00D0050);
  1479.   {$EXTERNALSYM NS_E_TIGER_FAIL}
  1480.  // Cub Events
  1481.  // %1 is the cub ID
  1482.  // %2 is the cub name
  1483. //
  1484. // MessageId: NS_I_CUB_START
  1485. //
  1486. // MessageText:
  1487. //
  1488. //  Content Server %1 (%2) is starting.%0
  1489. //
  1490.   NS_I_CUB_START                   = HRESULT($400D0051);
  1491.   {$EXTERNALSYM NS_I_CUB_START}
  1492. //
  1493. // MessageId: NS_I_CUB_RUNNING
  1494. //
  1495. // MessageText:
  1496. //
  1497. //  Content Server %1 (%2) is running.%0
  1498. //
  1499.   NS_I_CUB_RUNNING                 = HRESULT($400D0052);
  1500.   {$EXTERNALSYM NS_I_CUB_RUNNING}
  1501. //
  1502. // MessageId: NS_E_CUB_FAIL
  1503. //
  1504. // MessageText:
  1505. //
  1506. //  Content Server %1 (%2) has failed.%0
  1507. //
  1508.   NS_E_CUB_FAIL                    = HRESULT($C00D0053);
  1509.   {$EXTERNALSYM NS_E_CUB_FAIL}
  1510.  // Disk Events
  1511.  // %1 is the tiger disk ID
  1512.  // %2 is the device name
  1513.  // %3 is the cub ID
  1514. //
  1515. // MessageId: NS_I_DISK_START
  1516. //
  1517. // MessageText:
  1518. //
  1519. //  Disk %1 ( %2 ) on Content Server %3, is running.%0
  1520. //
  1521.   NS_I_DISK_START                  = HRESULT($400D0054);
  1522.   {$EXTERNALSYM NS_I_DISK_START}
  1523. //
  1524. // MessageId: NS_E_DISK_FAIL
  1525. //
  1526. // MessageText:
  1527. //
  1528. //  Disk %1 ( %2 ) on Content Server %3, has failed.%0
  1529. //
  1530.   NS_E_DISK_FAIL                   = HRESULT($C00D0055);
  1531.   {$EXTERNALSYM NS_E_DISK_FAIL}
  1532. //
  1533. // MessageId: NS_I_DISK_REBUILD_STARTED
  1534. //
  1535. // MessageText:
  1536. //
  1537. //  Started rebuilding disk %1 ( %2 ) on Content Server %3.%0
  1538. //
  1539.   NS_I_DISK_REBUILD_STARTED        = HRESULT($400D0056);
  1540.   {$EXTERNALSYM NS_I_DISK_REBUILD_STARTED}
  1541. //
  1542. // MessageId: NS_I_DISK_REBUILD_FINISHED
  1543. //
  1544. // MessageText:
  1545. //
  1546. //  Finished rebuilding disk %1 ( %2 ) on Content Server %3.%0
  1547. //
  1548.   NS_I_DISK_REBUILD_FINISHED       = HRESULT($400D0057);
  1549.   {$EXTERNALSYM NS_I_DISK_REBUILD_FINISHED}
  1550. //
  1551. // MessageId: NS_I_DISK_REBUILD_ABORTED
  1552. //
  1553. // MessageText:
  1554. //
  1555. //  Aborted rebuilding disk %1 ( %2 ) on Content Server %3.%0
  1556. //
  1557.   NS_I_DISK_REBUILD_ABORTED        = HRESULT($400D0058);
  1558.   {$EXTERNALSYM NS_I_DISK_REBUILD_ABORTED}
  1559.  // Admin Events
  1560. //
  1561. // MessageId: NS_I_LIMIT_FUNNELS
  1562. //
  1563. // MessageText:
  1564. //
  1565. //  A NetShow administrator at network location %1 set the data stream limit to %2 streams.%0
  1566. //
  1567.   NS_I_LIMIT_FUNNELS               = HRESULT($400D0059);
  1568.   {$EXTERNALSYM NS_I_LIMIT_FUNNELS}
  1569. //
  1570. // MessageId: NS_I_START_DISK
  1571. //
  1572. // MessageText:
  1573. //
  1574. //  A NetShow administrator at network location %1 started disk %2.%0
  1575. //
  1576.   NS_I_START_DISK                  = HRESULT($400D005A);
  1577.   {$EXTERNALSYM NS_I_START_DISK}
  1578. //
  1579. // MessageId: NS_I_STOP_DISK
  1580. //
  1581. // MessageText:
  1582. //
  1583. //  A NetShow administrator at network location %1 stopped disk %2.%0
  1584. //
  1585.   NS_I_STOP_DISK                   = HRESULT($400D005B);
  1586.   {$EXTERNALSYM NS_I_STOP_DISK}
  1587. //
  1588. // MessageId: NS_I_STOP_CUB
  1589. //
  1590. // MessageText:
  1591. //
  1592. //  A NetShow administrator at network location %1 stopped Content Server %2.%0
  1593. //
  1594.   NS_I_STOP_CUB                    = HRESULT($400D005C);
  1595.   {$EXTERNALSYM NS_I_STOP_CUB}
  1596. //
  1597. // MessageId: NS_I_KILL_USERSESSION
  1598. //
  1599. // MessageText:
  1600. //
  1601. //  A NetShow administrator at network location %1 aborted user session %2 from the system.%0
  1602. //
  1603.   NS_I_KILL_USERSESSION            = HRESULT($400D005D);
  1604.   {$EXTERNALSYM NS_I_KILL_USERSESSION}
  1605. //
  1606. // MessageId: NS_I_KILL_CONNECTION
  1607. //
  1608. // MessageText:
  1609. //
  1610. //  A NetShow administrator at network location %1 aborted obsolete connection %2 from the system.%0
  1611. //
  1612.   NS_I_KILL_CONNECTION             = HRESULT($400D005E);
  1613.   {$EXTERNALSYM NS_I_KILL_CONNECTION}
  1614. //
  1615. // MessageId: NS_I_REBUILD_DISK
  1616. //
  1617. // MessageText:
  1618. //
  1619. //  A NetShow administrator at network location %1 started rebuilding disk %2.%0
  1620. //
  1621.   NS_I_REBUILD_DISK                = HRESULT($400D005F);
  1622.   {$EXTERNALSYM NS_I_REBUILD_DISK}
  1623. //
  1624. // MessageId: NS_W_UNKNOWN_EVENT
  1625. //
  1626. // MessageText:
  1627. //
  1628. //  Unknown %1 event encountered.%0
  1629. //
  1630.   NS_W_UNKNOWN_EVENT               = HRESULT($800D0060);
  1631.   {$EXTERNALSYM NS_W_UNKNOWN_EVENT}
  1632.  // Alerts
  1633. //
  1634. // MessageId: NS_E_MAX_FUNNELS_ALERT
  1635. //
  1636. // MessageText:
  1637. //
  1638. //  The NetShow data stream limit of %1 streams was reached.%0
  1639. //
  1640.   NS_E_MAX_FUNNELS_ALERT           = HRESULT($C00D0060);
  1641.   {$EXTERNALSYM NS_E_MAX_FUNNELS_ALERT}
  1642. //
  1643. // MessageId: NS_E_ALLOCATE_FILE_FAIL
  1644. //
  1645. // MessageText:
  1646. //
  1647. //  The NetShow Video Server was unable to allocate a %1 block file named %2.%0
  1648. //
  1649.   NS_E_ALLOCATE_FILE_FAIL          = HRESULT($C00D0061);
  1650.   {$EXTERNALSYM NS_E_ALLOCATE_FILE_FAIL}
  1651. //
  1652. // MessageId: NS_E_PAGING_ERROR
  1653. //
  1654. // MessageText:
  1655. //
  1656. //  A Content Server was unable to page a block.%0
  1657. //
  1658.   NS_E_PAGING_ERROR                = HRESULT($C00D0062);
  1659.   {$EXTERNALSYM NS_E_PAGING_ERROR}
  1660. //
  1661. // MessageId: NS_E_BAD_BLOCK0_VERSION
  1662. //
  1663. // MessageText:
  1664. //
  1665. //  Disk %1 has unrecognized control block version %2.%0
  1666. //
  1667.   NS_E_BAD_BLOCK0_VERSION          = HRESULT($C00D0063);
  1668.   {$EXTERNALSYM NS_E_BAD_BLOCK0_VERSION}
  1669. //
  1670. // MessageId: NS_E_BAD_DISK_UID
  1671. //
  1672. // MessageText:
  1673. //
  1674. //  Disk %1 has incorrect uid %2.%0
  1675. //
  1676.   NS_E_BAD_DISK_UID                = HRESULT($C00D0064);
  1677.   {$EXTERNALSYM NS_E_BAD_DISK_UID}
  1678. //
  1679. // MessageId: NS_E_BAD_FSMAJOR_VERSION
  1680. //
  1681. // MessageText:
  1682. //
  1683. //  Disk %1 has unsupported file system major version %2.%0
  1684. //
  1685.   NS_E_BAD_FSMAJOR_VERSION         = HRESULT($C00D0065);
  1686.   {$EXTERNALSYM NS_E_BAD_FSMAJOR_VERSION}
  1687. //
  1688. // MessageId: NS_E_BAD_STAMPNUMBER
  1689. //
  1690. // MessageText:
  1691. //
  1692. //  Disk %1 has bad stamp number in control block.%0
  1693. //
  1694.   NS_E_BAD_STAMPNUMBER             = HRESULT($C00D0066);
  1695.   {$EXTERNALSYM NS_E_BAD_STAMPNUMBER}
  1696. //
  1697. // MessageId: NS_E_PARTIALLY_REBUILT_DISK
  1698. //
  1699. // MessageText:
  1700. //
  1701. //  Disk %1 is partially reconstructed.%0
  1702. //
  1703.   NS_E_PARTIALLY_REBUILT_DISK      = HRESULT($C00D0067);
  1704.   {$EXTERNALSYM NS_E_PARTIALLY_REBUILT_DISK}
  1705. //
  1706. // MessageId: NS_E_ENACTPLAN_GIVEUP
  1707. //
  1708. // MessageText:
  1709. //
  1710. //  EnactPlan gives up.%0
  1711. //
  1712.   NS_E_ENACTPLAN_GIVEUP            = HRESULT($C00D0068);
  1713.   {$EXTERNALSYM NS_E_ENACTPLAN_GIVEUP}
  1714.  // MCMADM warnings/errors
  1715. //
  1716. // MessageId: MCMADM_I_NO_EVENTS
  1717. //
  1718. // MessageText:
  1719. //
  1720. //  Event initialization failed, there will be no MCM events.%0
  1721. //
  1722.   MCMADM_I_NO_EVENTS               = HRESULT($400D0069);
  1723.   {$EXTERNALSYM MCMADM_I_NO_EVENTS}
  1724. //
  1725. // MessageId: MCMADM_E_REGKEY_NOT_FOUND
  1726. //
  1727. // MessageText:
  1728. //
  1729. //  The key was not found in the registry.%0
  1730. //
  1731.   MCMADM_E_REGKEY_NOT_FOUND        = HRESULT($C00D006A);
  1732.   {$EXTERNALSYM MCMADM_E_REGKEY_NOT_FOUND}
  1733. //
  1734. // MessageId: NS_E_NO_FORMATS
  1735. //
  1736. // MessageText:
  1737. //
  1738. //  The publishing point cannot be started because the server does not have the appropriate stream formats. Use the Multicast Announcement Wizard to create a new announcement for this publishing point.%0
  1739. //
  1740.   NS_E_NO_FORMATS                  = HRESULT($C00D006B);
  1741.   {$EXTERNALSYM NS_E_NO_FORMATS}
  1742. //
  1743. // MessageId: NS_E_NO_REFERENCES
  1744. //
  1745. // MessageText:
  1746. //
  1747. //  No reference URLs were found in an ASX file.%0
  1748. //
  1749.   NS_E_NO_REFERENCES               = HRESULT($C00D006C);
  1750.   {$EXTERNALSYM NS_E_NO_REFERENCES}
  1751. //
  1752. // MessageId: NS_E_WAVE_OPEN
  1753. //
  1754. // MessageText:
  1755. //
  1756. //  Error opening wave device, the device might be in use.%0
  1757. //
  1758.   NS_E_WAVE_OPEN                   = HRESULT($C00D006D);
  1759.   {$EXTERNALSYM NS_E_WAVE_OPEN}
  1760. //
  1761. // MessageId: NS_I_LOGGING_FAILED
  1762. //
  1763. // MessageText:
  1764. //
  1765. //  The logging operation failed.
  1766. //
  1767.   NS_I_LOGGING_FAILED              = HRESULT($400D006E);
  1768.   {$EXTERNALSYM NS_I_LOGGING_FAILED}
  1769. //
  1770. // MessageId: NS_E_CANNOTCONNECTEVENTS
  1771. //
  1772. // MessageText:
  1773. //
  1774. //  Unable to establish a connection to the NetShow event monitor service.%0
  1775. //
  1776.   NS_E_CANNOTCONNECTEVENTS         = HRESULT($C00D006F);
  1777.   {$EXTERNALSYM NS_E_CANNOTCONNECTEVENTS}
  1778. //
  1779. // MessageId: NS_I_LIMIT_BANDWIDTH
  1780. //
  1781. // MessageText:
  1782. //
  1783. //  A NetShow administrator at network location %1 set the maximum bandwidth limit to %2 bps.%0
  1784. //
  1785.   NS_I_LIMIT_BANDWIDTH             = HRESULT($400D0070);
  1786.   {$EXTERNALSYM NS_I_LIMIT_BANDWIDTH}
  1787. //
  1788. // MessageId: NS_E_NO_DEVICE
  1789. //
  1790. // MessageText:
  1791. //
  1792. //  No device driver is present on the system.%0
  1793. //
  1794.   NS_E_NO_DEVICE                   = HRESULT($C00D0071);
  1795.   {$EXTERNALSYM NS_E_NO_DEVICE}
  1796. //
  1797. // MessageId: NS_E_NO_SPECIFIED_DEVICE
  1798. //
  1799. // MessageText:
  1800. //
  1801. //  No specified device driver is present.%0
  1802. //
  1803.   NS_E_NO_SPECIFIED_DEVICE         = HRESULT($C00D0072);
  1804.   {$EXTERNALSYM NS_E_NO_SPECIFIED_DEVICE}
  1805. // NOTENOTE!!!
  1806. //
  1807. // Due to legacy problems these error codes live inside the ASF error code range
  1808. //
  1809. //
  1810. // MessageId: NS_E_NOTHING_TO_DO
  1811. //
  1812. // MessageText:
  1813. //
  1814. //  NS_E_NOTHING_TO_DO
  1815. //
  1816.   NS_E_NOTHING_TO_DO               = HRESULT($C00D07F1);
  1817.   {$EXTERNALSYM NS_E_NOTHING_TO_DO}
  1818. //
  1819. // MessageId: NS_E_NO_MULTICAST
  1820. //
  1821. // MessageText:
  1822. //
  1823. //  Not receiving data from the server.%0
  1824. //
  1825.   NS_E_NO_MULTICAST                = HRESULT($C00D07F2);
  1826.   {$EXTERNALSYM NS_E_NO_MULTICAST}
  1827. /////////////////////////////////////////////////////////////////////////
  1828. //
  1829. // NETSHOW Error Events
  1830. //
  1831. // IdRange = 200..399
  1832. //
  1833. /////////////////////////////////////////////////////////////////////////
  1834. //
  1835. // MessageId: NS_E_MONITOR_GIVEUP
  1836. //
  1837. // MessageText:
  1838. //
  1839. //  Netshow Events Monitor is not operational and has been disconnected.%0
  1840. //
  1841.   NS_E_MONITOR_GIVEUP              = HRESULT($C00D00C8);
  1842.   {$EXTERNALSYM NS_E_MONITOR_GIVEUP}
  1843. //
  1844. // MessageId: NS_E_REMIRRORED_DISK
  1845. //
  1846. // MessageText:
  1847. //
  1848. //  Disk %1 is remirrored.%0
  1849. //
  1850.   NS_E_REMIRRORED_DISK             = HRESULT($C00D00C9);
  1851.   {$EXTERNALSYM NS_E_REMIRRORED_DISK}
  1852. //
  1853. // MessageId: NS_E_INSUFFICIENT_DATA
  1854. //
  1855. // MessageText:
  1856. //
  1857. //  Insufficient data found.%0
  1858. //
  1859.   NS_E_INSUFFICIENT_DATA           = HRESULT($C00D00CA);
  1860.   {$EXTERNALSYM NS_E_INSUFFICIENT_DATA}
  1861. //
  1862. // MessageId: NS_E_ASSERT
  1863. //
  1864. // MessageText:
  1865. //
  1866. //  %1 failed in file %2 line %3.%0
  1867. //
  1868.   NS_E_ASSERT                      = HRESULT($C00D00CB);
  1869.   {$EXTERNALSYM NS_E_ASSERT}
  1870. //
  1871. // MessageId: NS_E_BAD_ADAPTER_NAME
  1872. //
  1873. // MessageText:
  1874. //
  1875. //  The specified adapter name is invalid.%0
  1876. //
  1877.   NS_E_BAD_ADAPTER_NAME            = HRESULT($C00D00CC);
  1878.   {$EXTERNALSYM NS_E_BAD_ADAPTER_NAME}
  1879. //
  1880. // MessageId: NS_E_NOT_LICENSED
  1881. //
  1882. // MessageText:
  1883. //
  1884. //  The application is not licensed for this feature.%0
  1885. //
  1886.   NS_E_NOT_LICENSED                = HRESULT($C00D00CD);
  1887.   {$EXTERNALSYM NS_E_NOT_LICENSED}
  1888. //
  1889. // MessageId: NS_E_NO_SERVER_CONTACT
  1890. //
  1891. // MessageText:
  1892. //
  1893. //  Unable to contact the server.%0
  1894. //
  1895.   NS_E_NO_SERVER_CONTACT           = HRESULT($C00D00CE);
  1896.   {$EXTERNALSYM NS_E_NO_SERVER_CONTACT}
  1897. //
  1898. // MessageId: NS_E_TOO_MANY_TITLES
  1899. //
  1900. // MessageText:
  1901. //
  1902. //  Maximum number of titles exceeded.%0
  1903. //
  1904.   NS_E_TOO_MANY_TITLES             = HRESULT($C00D00CF);
  1905.   {$EXTERNALSYM NS_E_TOO_MANY_TITLES}
  1906. //
  1907. // MessageId: NS_E_TITLE_SIZE_EXCEEDED
  1908. //
  1909. // MessageText:
  1910. //
  1911. //  Maximum size of a title exceeded.%0
  1912. //
  1913.   NS_E_TITLE_SIZE_EXCEEDED         = HRESULT($C00D00D0);
  1914.   {$EXTERNALSYM NS_E_TITLE_SIZE_EXCEEDED}
  1915. //
  1916. // MessageId: NS_E_UDP_DISABLED
  1917. //
  1918. // MessageText:
  1919. //
  1920. //  UDP protocol not enabled. Not trying %1!ls!.%0
  1921. //
  1922.   NS_E_UDP_DISABLED                = HRESULT($C00D00D1);
  1923.   {$EXTERNALSYM NS_E_UDP_DISABLED}
  1924. //
  1925. // MessageId: NS_E_TCP_DISABLED
  1926. //
  1927. // MessageText:
  1928. //
  1929. //  TCP protocol not enabled. Not trying %1!ls!.%0
  1930. //
  1931.   NS_E_TCP_DISABLED                = HRESULT($C00D00D2);
  1932.   {$EXTERNALSYM NS_E_TCP_DISABLED}
  1933. //
  1934. // MessageId: NS_E_HTTP_DISABLED
  1935. //
  1936. // MessageText:
  1937. //
  1938. //  HTTP protocol not enabled. Not trying %1!ls!.%0
  1939. //
  1940.   NS_E_HTTP_DISABLED               = HRESULT($C00D00D3);
  1941.   {$EXTERNALSYM NS_E_HTTP_DISABLED}
  1942. //
  1943. // MessageId: NS_E_LICENSE_EXPIRED
  1944. //
  1945. // MessageText:
  1946. //
  1947. //  The product license has expired.%0
  1948. //
  1949.   NS_E_LICENSE_EXPIRED             = HRESULT($C00D00D4);
  1950.   {$EXTERNALSYM NS_E_LICENSE_EXPIRED}
  1951. //
  1952. // MessageId: NS_E_TITLE_BITRATE
  1953. //
  1954. // MessageText:
  1955. //
  1956. //  Source file exceeds the per title maximum bitrate. See NetShow Theater documentation for more information.%0
  1957. //
  1958.   NS_E_TITLE_BITRATE               = HRESULT($C00D00D5);
  1959.   {$EXTERNALSYM NS_E_TITLE_BITRATE}
  1960. //
  1961. // MessageId: NS_E_EMPTY_PROGRAM_NAME
  1962. //
  1963. // MessageText:
  1964. //
  1965. //  The program name cannot be empty.%0
  1966. //
  1967.   NS_E_EMPTY_PROGRAM_NAME          = HRESULT($C00D00D6);
  1968.   {$EXTERNALSYM NS_E_EMPTY_PROGRAM_NAME}
  1969. //
  1970. // MessageId: NS_E_MISSING_CHANNEL
  1971. //
  1972. // MessageText:
  1973. //
  1974. //  Station %1 does not exist.%0
  1975. //
  1976.   NS_E_MISSING_CHANNEL             = HRESULT($C00D00D7);
  1977.   {$EXTERNALSYM NS_E_MISSING_CHANNEL}
  1978. //
  1979. // MessageId: NS_E_NO_CHANNELS
  1980. //
  1981. // MessageText:
  1982. //
  1983. //  You need to define at least one station before this operation can complete.%0
  1984. //
  1985.   NS_E_NO_CHANNELS                 = HRESULT($C00D00D8);
  1986.   {$EXTERNALSYM NS_E_NO_CHANNELS}
  1987. /////////////////////////////////////////////////////////////////////
  1988. // This error message is to replace previous NS_E_INVALID_INDEX which
  1989. // takes an index value for the error message string.  For some application
  1990. // obtain the idex value at reporting error time is very difficult, so we
  1991. // use this string to avoid the problem.
  1992. //////////////////////////////////////////////////////////////////////
  1993. //
  1994. // MessageId: NS_E_INVALID_INDEX2
  1995. //
  1996. // MessageText:
  1997. //
  1998. //  The index specified is invalid.%0
  1999. //
  2000.   NS_E_INVALID_INDEX2              = HRESULT($C00D00D9);
  2001.   {$EXTERNALSYM NS_E_INVALID_INDEX2}
  2002. /////////////////////////////////////////////////////////////////////////
  2003. //
  2004. // NETSHOW Monitor Events
  2005. //
  2006. // IdRange = 400..599
  2007. //
  2008. // Admin Events:
  2009. //
  2010. // Alerts:
  2011. //
  2012. // Title Server:
  2013. //      %1 is the Title Server name
  2014. //
  2015. // Content Server:
  2016. //      %1 is the Content Server ID
  2017. //      %2 is the Content Server name
  2018. //      %3 is the Peer Content Server name (optiona);
  2019. //
  2020. // Disks:
  2021. //      %1 is the Title Server disk ID
  2022. //      %2 is the device name
  2023. //      %3 is the Content Server ID
  2024. //
  2025. /////////////////////////////////////////////////////////////////////////
  2026. //
  2027. // MessageId: NS_E_CUB_FAIL_LINK
  2028. //
  2029. // MessageText:
  2030. //
  2031. //  Content Server %1 (%2) has failed its link to Content Server %3.%0
  2032. //
  2033.   NS_E_CUB_FAIL_LINK               = HRESULT($C00D0190);
  2034.   {$EXTERNALSYM NS_E_CUB_FAIL_LINK}
  2035. //
  2036. // MessageId: NS_I_CUB_UNFAIL_LINK
  2037. //
  2038. // MessageText:
  2039. //
  2040. //  Content Server %1 (%2) has established its link to Content Server %3.%0
  2041. //
  2042.   NS_I_CUB_UNFAIL_LINK             = HRESULT($400D0191);
  2043.   {$EXTERNALSYM NS_I_CUB_UNFAIL_LINK}
  2044. //
  2045. // MessageId: NS_E_BAD_CUB_UID
  2046. //
  2047. // MessageText:
  2048. //
  2049. //  Content Server %1 (%2) has incorrect uid %3.%0
  2050. //
  2051.   NS_E_BAD_CUB_UID                 = HRESULT($C00D0192);
  2052.   {$EXTERNALSYM NS_E_BAD_CUB_UID}
  2053. //
  2054. // MessageId: NS_I_RESTRIPE_START
  2055. //
  2056. // MessageText:
  2057. //
  2058. //  Restripe operation has started.%0
  2059. //
  2060.   NS_I_RESTRIPE_START              = HRESULT($400D0193);
  2061.   {$EXTERNALSYM NS_I_RESTRIPE_START}
  2062. //
  2063. // MessageId: NS_I_RESTRIPE_DONE
  2064. //
  2065. // MessageText:
  2066. //
  2067. //  Restripe operation has completed.%0
  2068. //
  2069.   NS_I_RESTRIPE_DONE               = HRESULT($400D0194);
  2070.   {$EXTERNALSYM NS_I_RESTRIPE_DONE}
  2071. //
  2072. // MessageId: NS_E_GLITCH_MODE
  2073. //
  2074. // MessageText:
  2075. //
  2076. //  Server unreliable because multiple components failed.%0
  2077. //
  2078.   NS_E_GLITCH_MODE                 = HRESULT($C00D0195);
  2079.   {$EXTERNALSYM NS_E_GLITCH_MODE}
  2080. //
  2081. // MessageId: NS_I_RESTRIPE_DISK_OUT
  2082. //
  2083. // MessageText:
  2084. //
  2085. //  Content disk %1 (%2) on Content Server %3 has been restriped out.%0
  2086. //
  2087.   NS_I_RESTRIPE_DISK_OUT           = HRESULT($400D0196);
  2088.   {$EXTERNALSYM NS_I_RESTRIPE_DISK_OUT}
  2089. //
  2090. // MessageId: NS_I_RESTRIPE_CUB_OUT
  2091. //
  2092. // MessageText:
  2093. //
  2094. //  Content server %1 (%2) has been restriped out.%0
  2095. //
  2096.   NS_I_RESTRIPE_CUB_OUT            = HRESULT($400D0197);
  2097.   {$EXTERNALSYM NS_I_RESTRIPE_CUB_OUT}
  2098. //
  2099. // MessageId: NS_I_DISK_STOP
  2100. //
  2101. // MessageText:
  2102. //
  2103. //  Disk %1 ( %2 ) on Content Server %3, has been offlined.%0
  2104. //
  2105.   NS_I_DISK_STOP                   = HRESULT($400D0198);
  2106.   {$EXTERNALSYM NS_I_DISK_STOP}
  2107. //
  2108. // MessageId: NS_I_CATATONIC_FAILURE
  2109. //
  2110. // MessageText:
  2111. //
  2112. //  Disk %1 ( %2 ) on Content Server %3, will be failed because it is catatonic.%0
  2113. //
  2114.   NS_I_CATATONIC_FAILURE           = HRESULT($800D0199);
  2115.   {$EXTERNALSYM NS_I_CATATONIC_FAILURE}
  2116. //
  2117. // MessageId: NS_I_CATATONIC_AUTO_UNFAIL
  2118. //
  2119. // MessageText:
  2120. //
  2121. //  Disk %1 ( %2 ) on Content Server %3, auto online from catatonic state.%0
  2122. //
  2123.   NS_I_CATATONIC_AUTO_UNFAIL       = HRESULT($800D019A);
  2124.   {$EXTERNALSYM NS_I_CATATONIC_AUTO_UNFAIL}
  2125. //
  2126. // MessageId: NS_E_NO_MEDIA_PROTOCOL
  2127. //
  2128. // MessageText:
  2129. //
  2130. //  Content Server %1 (%2) is unable to communicate with the Media System Network Protocol.%0
  2131. //
  2132.   NS_E_NO_MEDIA_PROTOCOL           = HRESULT($C00D019B);
  2133.   {$EXTERNALSYM NS_E_NO_MEDIA_PROTOCOL}
  2134. //
  2135. // Advanced Streaming Format (ASF) codes occupy MessageIds 2000-2999
  2136. //
  2137. // See ASFErr.mc for more details - please do not define any symbols
  2138. // in that range in this file.
  2139. //
  2140. /////////////////////////////////////////////////////////////////////////
  2141. //
  2142. // Windows Media SDK Errors
  2143. //
  2144. // IdRange = 3000-3199
  2145. //
  2146. /////////////////////////////////////////////////////////////////////////
  2147. //
  2148. // MessageId: NS_E_INVALID_INPUT_FORMAT
  2149. //
  2150. // MessageText:
  2151. //
  2152. //  The input media format is invalid.%0
  2153. //
  2154.   NS_E_INVALID_INPUT_FORMAT        = HRESULT($C00D0BB8);
  2155.   {$EXTERNALSYM NS_E_INVALID_INPUT_FORMAT}
  2156. //
  2157. // MessageId: NS_E_MSAUDIO_NOT_INSTALLED
  2158. //
  2159. // MessageText:
  2160. //
  2161. //  The MSAudio codec is not installed on this system.%0
  2162. //
  2163.   NS_E_MSAUDIO_NOT_INSTALLED       = HRESULT($C00D0BB9);
  2164.   {$EXTERNALSYM NS_E_MSAUDIO_NOT_INSTALLED}
  2165. //
  2166. // MessageId: NS_E_UNEXPECTED_MSAUDIO_ERROR
  2167. //
  2168. // MessageText:
  2169. //
  2170. //  An unexpected error occurred with the MSAudio codec.%0
  2171. //
  2172.   NS_E_UNEXPECTED_MSAUDIO_ERROR    = HRESULT($C00D0BBA);
  2173.   {$EXTERNALSYM NS_E_UNEXPECTED_MSAUDIO_ERROR}
  2174. //
  2175. // MessageId: NS_E_INVALID_OUTPUT_FORMAT
  2176. //
  2177. // MessageText:
  2178. //
  2179. //  The output media format is invalid.%0
  2180. //
  2181.   NS_E_INVALID_OUTPUT_FORMAT       = HRESULT($C00D0BBB);
  2182.   {$EXTERNALSYM NS_E_INVALID_OUTPUT_FORMAT}
  2183. //
  2184. // MessageId: NS_E_NOT_CONFIGURED
  2185. //
  2186. // MessageText:
  2187. //
  2188. //  The object must be fully configured before audio samples can be processed.%0
  2189. //
  2190.   NS_E_NOT_CONFIGURED              = HRESULT($C00D0BBC);
  2191.   {$EXTERNALSYM NS_E_NOT_CONFIGURED}
  2192. //
  2193. // MessageId: NS_E_PROTECTED_CONTENT
  2194. //
  2195. // MessageText:
  2196. //
  2197. //  You need a license to perform the requested operation on this media file.%0
  2198. //
  2199.   NS_E_PROTECTED_CONTENT           = HRESULT($C00D0BBD);
  2200.   {$EXTERNALSYM NS_E_PROTECTED_CONTENT}
  2201. //
  2202. // MessageId: NS_E_LICENSE_REQUIRED
  2203. //
  2204. // MessageText:
  2205. //
  2206. //  You need a license to perform the requested operation on this media file.%0
  2207. //
  2208.   NS_E_LICENSE_REQUIRED            = HRESULT($C00D0BBE);
  2209.   {$EXTERNALSYM NS_E_LICENSE_REQUIRED}
  2210. //
  2211. // MessageId: NS_E_TAMPERED_CONTENT
  2212. //
  2213. // MessageText:
  2214. //
  2215. //  This media file is corrupted or invalid. Contact the content provider for a new file.%0
  2216. //
  2217.   NS_E_TAMPERED_CONTENT            = HRESULT($C00D0BBF);
  2218.   {$EXTERNALSYM NS_E_TAMPERED_CONTENT}
  2219. //
  2220. // MessageId: NS_E_LICENSE_OUTOFDATE
  2221. //
  2222. // MessageText:
  2223. //
  2224. //  The license for this media file has expired. Get a new license or contact the content provider for further assistance.%0
  2225. //
  2226.   NS_E_LICENSE_OUTOFDATE           = HRESULT($C00D0BC0);
  2227.   {$EXTERNALSYM NS_E_LICENSE_OUTOFDATE}
  2228. //
  2229. // MessageId: NS_E_LICENSE_INCORRECT_RIGHTS
  2230. //
  2231. // MessageText:
  2232. //
  2233. //  You are not allowed to open this file. Contact the content provider for further assistance.%0
  2234. //
  2235.   NS_E_LICENSE_INCORRECT_RIGHTS    = HRESULT($C00D0BC1);
  2236.   {$EXTERNALSYM NS_E_LICENSE_INCORRECT_RIGHTS}
  2237. //
  2238. // MessageId: NS_E_AUDIO_CODEC_NOT_INSTALLED
  2239. //
  2240. // MessageText:
  2241. //
  2242. //  The requested audio codec is not installed on this system.%0
  2243. //
  2244.   NS_E_AUDIO_CODEC_NOT_INSTALLED   = HRESULT($C00D0BC2);
  2245.   {$EXTERNALSYM NS_E_AUDIO_CODEC_NOT_INSTALLED}
  2246. //
  2247. // MessageId: NS_E_AUDIO_CODEC_ERROR
  2248. //
  2249. // MessageText:
  2250. //
  2251. //  An unexpected error occurred with the audio codec.%0
  2252. //
  2253.   NS_E_AUDIO_CODEC_ERROR           = HRESULT($C00D0BC3);
  2254.   {$EXTERNALSYM NS_E_AUDIO_CODEC_ERROR}
  2255. //
  2256. // MessageId: NS_E_VIDEO_CODEC_NOT_INSTALLED
  2257. //
  2258. // MessageText:
  2259. //
  2260. //  The requested video codec is not installed on this system.%0
  2261. //
  2262.   NS_E_VIDEO_CODEC_NOT_INSTALLED   = HRESULT($C00D0BC4);
  2263.   {$EXTERNALSYM NS_E_VIDEO_CODEC_NOT_INSTALLED}
  2264. //
  2265. // MessageId: NS_E_VIDEO_CODEC_ERROR
  2266. //
  2267. // MessageText:
  2268. //
  2269. //  An unexpected error occurred with the video codec.%0
  2270. //
  2271.   NS_E_VIDEO_CODEC_ERROR           = HRESULT($C00D0BC5);
  2272.   {$EXTERNALSYM NS_E_VIDEO_CODEC_ERROR}
  2273. //
  2274. // MessageId: NS_E_INVALIDPROFILE
  2275. //
  2276. // MessageText:
  2277. //
  2278. //  The Profile is invalid.%0
  2279. //
  2280.   NS_E_INVALIDPROFILE              = HRESULT($C00D0BC6);
  2281.   {$EXTERNALSYM NS_E_INVALIDPROFILE}
  2282. //
  2283. // MessageId: NS_E_INCOMPATIBLE_VERSION
  2284. //
  2285. // MessageText:
  2286. //
  2287. //  A new version of the SDK is needed to play the requested content.%0
  2288. //
  2289.   NS_E_INCOMPATIBLE_VERSION        = HRESULT($C00D0BC7);
  2290.   {$EXTERNALSYM NS_E_INCOMPATIBLE_VERSION}
  2291. //
  2292. // MessageId: NS_S_REBUFFERING
  2293. //
  2294. // MessageText:
  2295. //
  2296. //  The requested operation has caused the source to rebuffer.%0
  2297. //
  2298.   NS_S_REBUFFERING                 = HRESULT($000D0BC8);
  2299.   {$EXTERNALSYM NS_S_REBUFFERING}
  2300. //
  2301. // MessageId: NS_S_DEGRADING_QUALITY
  2302. //
  2303. // MessageText:
  2304. //
  2305. //  The requested operation has caused the source to degrade codec quality.%0
  2306. //
  2307.   NS_S_DEGRADING_QUALITY           = HRESULT($000D0BC9);
  2308.   {$EXTERNALSYM NS_S_DEGRADING_QUALITY}
  2309. //
  2310. // MessageId: NS_E_OFFLINE_MODE
  2311. //
  2312. // MessageText:
  2313. //
  2314. //  The requested URL is not available in offline mode.%0
  2315. //
  2316.   NS_E_OFFLINE_MODE                = HRESULT($C00D0BCA);
  2317.   {$EXTERNALSYM NS_E_OFFLINE_MODE}
  2318. //
  2319. // MessageId: NS_E_NOT_CONNECTED
  2320. //
  2321. // MessageText:
  2322. //
  2323. //  The requested URL cannot be accessed because there is no network connection.%0
  2324. //
  2325.   NS_E_NOT_CONNECTED               = HRESULT($C00D0BCB);
  2326.   {$EXTERNALSYM NS_E_NOT_CONNECTED}
  2327. //
  2328. // MessageId: NS_E_TOO_MUCH_DATA
  2329. //
  2330. // MessageText:
  2331. //
  2332. //  The encoding process was unable to keep up with the amount of supplied data.%0
  2333. //
  2334.   NS_E_TOO_MUCH_DATA               = HRESULT($C00D0BCC);
  2335.   {$EXTERNALSYM NS_E_TOO_MUCH_DATA}
  2336. //
  2337. // MessageId: NS_E_UNSUPPORTED_PROPERTY
  2338. //
  2339. // MessageText:
  2340. //
  2341. //  The given property is not supported.%0
  2342. //
  2343.   NS_E_UNSUPPORTED_PROPERTY        = HRESULT($C00D0BCD);
  2344.   {$EXTERNALSYM NS_E_UNSUPPORTED_PROPERTY}
  2345. //
  2346. // MessageId: NS_E_8BIT_WAVE_UNSUPPORTED
  2347. //
  2348. // MessageText:
  2349. //
  2350. //  Windows Media Player cannot copy the files to the CD because they are 8-bit. Convert the files to 16-bit, 44-kHz stereo files by using Sound Recorder or another audio-processing program, and then try again.%0
  2351. //
  2352.   NS_E_8BIT_WAVE_UNSUPPORTED       = HRESULT($C00D0BCE);
  2353.   {$EXTERNALSYM NS_E_8BIT_WAVE_UNSUPPORTED}
  2354. //
  2355. // MessageId: NS_E_NO_MORE_SAMPLES
  2356. //
  2357. // MessageText:
  2358. //
  2359. //  There are no more samples in the current range.%0
  2360. //
  2361.   NS_E_NO_MORE_SAMPLES             = HRESULT($C00D0BCF);
  2362.   {$EXTERNALSYM NS_E_NO_MORE_SAMPLES}
  2363. //
  2364. // MessageId: NS_E_INVALID_SAMPLING_RATE
  2365. //
  2366. // MessageText:
  2367. //
  2368. //  The given sampling rate is invalid.%0
  2369. //
  2370.   NS_E_INVALID_SAMPLING_RATE       = HRESULT($C00D0BD0);
  2371.   {$EXTERNALSYM NS_E_INVALID_SAMPLING_RATE}
  2372. //
  2373. // MessageId: NS_E_MAX_PACKET_SIZE_TOO_SMALL
  2374. //
  2375. // MessageText:
  2376. //
  2377. //  The given maximum packet size is too small to accommodate this profile
  2378. //
  2379.   NS_E_MAX_PACKET_SIZE_TOO_SMALL   = HRESULT($C00D0BD1);
  2380.   {$EXTERNALSYM NS_E_MAX_PACKET_SIZE_TOO_SMALL}
  2381. //
  2382. // MessageId: NS_E_LATE_PACKET
  2383. //
  2384. // MessageText:
  2385. //
  2386. //  The packet arrived too late to be of use
  2387. //
  2388.   NS_E_LATE_PACKET                 = HRESULT($C00D0BD2);
  2389.   {$EXTERNALSYM NS_E_LATE_PACKET}
  2390. //
  2391. // MessageId: NS_E_DUPLICATE_PACKET
  2392. //
  2393. // MessageText:
  2394. //
  2395. //  The packet is a duplicate of one received before
  2396. //
  2397.   NS_E_DUPLICATE_PACKET            = HRESULT($C00D0BD3);
  2398.   {$EXTERNALSYM NS_E_DUPLICATE_PACKET}
  2399. //
  2400. // MessageId: NS_E_SDK_BUFFERTOOSMALL
  2401. //
  2402. // MessageText:
  2403. //
  2404. //  Supplied buffer is too small
  2405. //
  2406.   NS_E_SDK_BUFFERTOOSMALL          = HRESULT($C00D0BD4);
  2407.   {$EXTERNALSYM NS_E_SDK_BUFFERTOOSMALL}
  2408. //
  2409. // MessageId: NS_E_INVALID_NUM_PASSES
  2410. //
  2411. // MessageText:
  2412. //
  2413. //  The wrong number of preprocessing passes was used for the stream's output type
  2414. //
  2415.   NS_E_INVALID_NUM_PASSES          = HRESULT($C00D0BD5);
  2416.   {$EXTERNALSYM NS_E_INVALID_NUM_PASSES}
  2417. //
  2418. // MessageId: NS_E_ATTRIBUTE_READ_ONLY
  2419. //
  2420. // MessageText:
  2421. //
  2422. //  An attempt was made to add, modify, or delete a read only attribute
  2423. //
  2424.   NS_E_ATTRIBUTE_READ_ONLY         = HRESULT($C00D0BD6);
  2425.   {$EXTERNALSYM NS_E_ATTRIBUTE_READ_ONLY}
  2426. //
  2427. // MessageId: NS_E_ATTRIBUTE_NOT_ALLOWED
  2428. //
  2429. // MessageText:
  2430. //
  2431. //  An attempt was made to add attribute that is not allowed for the given media type
  2432. //
  2433.   NS_E_ATTRIBUTE_NOT_ALLOWED       = HRESULT($C00D0BD7);
  2434.   {$EXTERNALSYM NS_E_ATTRIBUTE_NOT_ALLOWED}
  2435. //
  2436. // MessageId: NS_E_INVALID_EDL
  2437. //
  2438. // MessageText:
  2439. //
  2440. //  The EDL provided is invalid
  2441. //
  2442.   NS_E_INVALID_EDL                 = HRESULT($C00D0BD8);
  2443.   {$EXTERNALSYM NS_E_INVALID_EDL}
  2444. //
  2445. // MessageId: NS_E_DATA_UNIT_EXTENSION_TOO_LARGE
  2446. //
  2447. // MessageText:
  2448. //
  2449. //  The Data Unit Extension data was too large to be used.%0
  2450. //
  2451.   NS_E_DATA_UNIT_EXTENSION_TOO_LARGE = HRESULT($C00D0BD9);
  2452.   {$EXTERNALSYM NS_E_DATA_UNIT_EXTENSION_TOO_LARGE}
  2453. //
  2454. // MessageId: NS_E_CODEC_DMO_ERROR
  2455. //
  2456. // MessageText:
  2457. //
  2458. //  An unexpected error occurred with a DMO codec.%0
  2459. //
  2460.   NS_E_CODEC_DMO_ERROR             = HRESULT($C00D0BDA);
  2461.   {$EXTERNALSYM NS_E_CODEC_DMO_ERROR}
  2462. /////////////////////////////////////////////////////////////////////////
  2463. //
  2464. // Windows Media Player Errors
  2465. //
  2466. // IdRange = 4000 - 4999
  2467. //
  2468. /////////////////////////////////////////////////////////////////////////
  2469. //
  2470. // WMP CD Filter Error codes
  2471. //
  2472. //
  2473. // MessageId: NS_E_NO_CD
  2474. //
  2475. // MessageText:
  2476. //
  2477. //  There is no CD in the CD-ROM drive. Insert a CD, and try again.%0
  2478. //
  2479.   NS_E_NO_CD                       = HRESULT($C00D0FA0);
  2480.   {$EXTERNALSYM NS_E_NO_CD}
  2481. //
  2482. // MessageId: NS_E_CANT_READ_DIGITAL
  2483. //
  2484. // MessageText:
  2485. //
  2486. //  Unable to perform digital reads on this compact disc drive.  Please try analog playback via the Tools Options menu.%0
  2487. //
  2488.   NS_E_CANT_READ_DIGITAL           = HRESULT($C00D0FA1);
  2489.   {$EXTERNALSYM NS_E_CANT_READ_DIGITAL}
  2490. //
  2491. // MessageId: NS_E_DEVICE_DISCONNECTED
  2492. //
  2493. // MessageText:
  2494. //
  2495. //  Windows Media Player no longer detects a connected portable device. Reconnect your portable device, and then try copying the file again.%0
  2496. //
  2497.   NS_E_DEVICE_DISCONNECTED         = HRESULT($C00D0FA2);
  2498.   {$EXTERNALSYM NS_E_DEVICE_DISCONNECTED}
  2499. //
  2500. // MessageId: NS_E_DEVICE_NOT_SUPPORT_FORMAT
  2501. //
  2502. // MessageText:
  2503. //
  2504. //  Windows Media Player cannot play the file. The portable device does not support the specified format.%0
  2505. //
  2506.   NS_E_DEVICE_NOT_SUPPORT_FORMAT   = HRESULT($C00D0FA3);
  2507.   {$EXTERNALSYM NS_E_DEVICE_NOT_SUPPORT_FORMAT}
  2508. //
  2509. // MessageId: NS_E_SLOW_READ_DIGITAL
  2510. //
  2511. // MessageText:
  2512. //
  2513. //  Windows Media Player encountered a problem while attempting to play the CD using digital playback. The Player has automatically switched the CD-ROM drive to analog playback. To switch back to digital CD playback, use the Devices tab.%0
  2514. //
  2515.   NS_E_SLOW_READ_DIGITAL           = HRESULT($C00D0FA4);
  2516.   {$EXTERNALSYM NS_E_SLOW_READ_DIGITAL}
  2517. //
  2518. // MessageId: NS_E_MIXER_INVALID_LINE
  2519. //
  2520. // MessageText:
  2521. //
  2522. //  An invalid line error occurred in the mixer.%0
  2523. //
  2524.   NS_E_MIXER_INVALID_LINE          = HRESULT($C00D0FA5);
  2525.   {$EXTERNALSYM NS_E_MIXER_INVALID_LINE}
  2526. //
  2527. // MessageId: NS_E_MIXER_INVALID_CONTROL
  2528. //
  2529. // MessageText:
  2530. //
  2531. //  An invalid control error occurred in the mixer.%0
  2532. //
  2533.   NS_E_MIXER_INVALID_CONTROL       = HRESULT($C00D0FA6);
  2534.   {$EXTERNALSYM NS_E_MIXER_INVALID_CONTROL}
  2535. //
  2536. // MessageId: NS_E_MIXER_INVALID_VALUE
  2537. //
  2538. // MessageText:
  2539. //
  2540. //  An invalid value error occurred in the mixer.%0
  2541. //
  2542.   NS_E_MIXER_INVALID_VALUE         = HRESULT($C00D0FA7);
  2543.   {$EXTERNALSYM NS_E_MIXER_INVALID_VALUE}
  2544. //
  2545. // MessageId: NS_E_MIXER_UNKNOWN_MMRESULT
  2546. //
  2547. // MessageText:
  2548. //
  2549. //  An unrecognized MMRESULT occurred in the mixer.%0
  2550. //
  2551.   NS_E_MIXER_UNKNOWN_MMRESULT      = HRESULT($C00D0FA8);
  2552.   {$EXTERNALSYM NS_E_MIXER_UNKNOWN_MMRESULT}
  2553. //
  2554. // MessageId: NS_E_USER_STOP
  2555. //
  2556. // MessageText:
  2557. //
  2558. //  User has stopped the operation.%0
  2559. //
  2560.   NS_E_USER_STOP                   = HRESULT($C00D0FA9);
  2561.   {$EXTERNALSYM NS_E_USER_STOP}
  2562. //
  2563. // MessageId: NS_E_MP3_FORMAT_NOT_FOUND
  2564. //
  2565. // MessageText:
  2566. //
  2567. //  Windows Media Player cannot copy the file because a compatible MP3 encoder is not installed on your computer. Install a compatible MP3 encoder, or choose a different format to copy to (such as Windows Media Audio).%0
  2568. //
  2569.   NS_E_MP3_FORMAT_NOT_FOUND        = HRESULT($C00D0FAA);
  2570.   {$EXTERNALSYM NS_E_MP3_FORMAT_NOT_FOUND}
  2571. //
  2572. // MessageId: NS_E_CD_READ_ERROR_NO_CORRECTION
  2573. //
  2574. // MessageText:
  2575. //
  2576. //  Windows Media Player cannot read the CD. It may contain flaws. Turn on error correction and try again.%0
  2577. //
  2578.   NS_E_CD_READ_ERROR_NO_CORRECTION = HRESULT($C00D0FAB);
  2579.   {$EXTERNALSYM NS_E_CD_READ_ERROR_NO_CORRECTION}
  2580. //
  2581. // MessageId: NS_E_CD_READ_ERROR
  2582. //
  2583. // MessageText:
  2584. //
  2585. //  Windows Media Player cannot read the CD. Be sure the CD is free of dirt and scratches and the CD-ROM drive is functioning properly.%0
  2586. //
  2587.   NS_E_CD_READ_ERROR               = HRESULT($C00D0FAC);
  2588.   {$EXTERNALSYM NS_E_CD_READ_ERROR}
  2589. //
  2590. // MessageId: NS_E_CD_SLOW_COPY
  2591. //
  2592. // MessageText:
  2593. //
  2594. //  To speed up the copy process, do not play CD tracks while copying.%0
  2595. //
  2596.   NS_E_CD_SLOW_COPY                = HRESULT($C00D0FAD);
  2597.   {$EXTERNALSYM NS_E_CD_SLOW_COPY}
  2598. //
  2599. // MessageId: NS_E_CD_COPYTO_CD
  2600. //
  2601. // MessageText:
  2602. //
  2603. //  Cannot copy directly from a CDROM to a CD drive.%0
  2604. //
  2605.   NS_E_CD_COPYTO_CD                = HRESULT($C00D0FAE);
  2606.   {$EXTERNALSYM NS_E_CD_COPYTO_CD}
  2607. //
  2608. // MessageId: NS_E_MIXER_NODRIVER
  2609. //
  2610. // MessageText:
  2611. //
  2612. //  Could not open a sound mixer driver.%0
  2613. //
  2614.   NS_E_MIXER_NODRIVER              = HRESULT($C00D0FAF);
  2615.   {$EXTERNALSYM NS_E_MIXER_NODRIVER}
  2616. //
  2617. // MessageId: NS_E_REDBOOK_ENABLED_WHILE_COPYING
  2618. //
  2619. // MessageText:
  2620. //
  2621. //  Windows Media Player has detected that a setting for the CD-ROM drive will cause audio CDs to copy incorrectly; no audio is copied. Change the CD-ROM drive setting in Device Manager, and then try again.%0
  2622. //
  2623.   NS_E_REDBOOK_ENABLED_WHILE_COPYING = HRESULT($C00D0FB0);
  2624.   {$EXTERNALSYM NS_E_REDBOOK_ENABLED_WHILE_COPYING}
  2625. //
  2626. // MessageId: NS_E_CD_REFRESH
  2627. //
  2628. // MessageText:
  2629. //
  2630. //  Trying to refresh the CD playlist.%0
  2631. //
  2632.   NS_E_CD_REFRESH                  = HRESULT($C00D0FB1);
  2633.   {$EXTERNALSYM NS_E_CD_REFRESH}
  2634. //
  2635. // MessageId: NS_E_CD_DRIVER_PROBLEM
  2636. //
  2637. // MessageText:
  2638. //
  2639. //  Windows Media Player must switch to analog  mode  because there is a problem reading the CD-ROM drive in digital mode. Verify that the CD-ROM drive is installed correctly or try to update the drivers for the CD-ROM drive, and then try to use digital mode again.%0
  2640. //
  2641.   NS_E_CD_DRIVER_PROBLEM           = HRESULT($C00D0FB2);
  2642.   {$EXTERNALSYM NS_E_CD_DRIVER_PROBLEM}
  2643. //
  2644. // MessageId: NS_E_WONT_DO_DIGITAL
  2645. //
  2646. // MessageText:
  2647. //
  2648. //  Windows Media Player must switch to analog mode because there is a problem reading the CD-ROM drive  in digital mode.%0
  2649. //
  2650.   NS_E_WONT_DO_DIGITAL             = HRESULT($C00D0FB3);
  2651.   {$EXTERNALSYM NS_E_WONT_DO_DIGITAL}
  2652. //
  2653. // WMP IWMPXMLParser Error codes
  2654. //
  2655. //
  2656. // MessageId: NS_E_WMPXML_NOERROR
  2657. //
  2658. // MessageText:
  2659. //
  2660. //  A call was made to GetParseError on the XML parser but there was no error to retrieve.%0
  2661. //
  2662.   NS_E_WMPXML_NOERROR              = HRESULT($C00D0FB4);
  2663.   {$EXTERNALSYM NS_E_WMPXML_NOERROR}
  2664. //
  2665. // MessageId: NS_E_WMPXML_ENDOFDATA
  2666. //
  2667. // MessageText:
  2668. //
  2669. //  The XML Parser ran out of data while parsing.%0
  2670. //
  2671.   NS_E_WMPXML_ENDOFDATA            = HRESULT($C00D0FB5);
  2672.   {$EXTERNALSYM NS_E_WMPXML_ENDOFDATA}
  2673. //
  2674. // MessageId: NS_E_WMPXML_PARSEERROR
  2675. //
  2676. // MessageText:
  2677. //
  2678. //  A generic parse error occurred in the XML parser but no information is available.%0
  2679. //
  2680.   NS_E_WMPXML_PARSEERROR           = HRESULT($C00D0FB6);
  2681.   {$EXTERNALSYM NS_E_WMPXML_PARSEERROR}
  2682. //
  2683. // MessageId: NS_E_WMPXML_ATTRIBUTENOTFOUND
  2684. //
  2685. // MessageText:
  2686. //
  2687. //  A call get GetNamedAttribute or GetNamedAttributeIndex on the XML parser resulted in the index not being found.%0
  2688. //
  2689.   NS_E_WMPXML_ATTRIBUTENOTFOUND    = HRESULT($C00D0FB7);
  2690.   {$EXTERNALSYM NS_E_WMPXML_ATTRIBUTENOTFOUND}
  2691. //
  2692. // MessageId: NS_E_WMPXML_PINOTFOUND
  2693. //
  2694. // MessageText:
  2695. //
  2696. //  A call was made go GetNamedPI on the XML parser, but the requested Processing Instruction was not found.%0
  2697. //
  2698.   NS_E_WMPXML_PINOTFOUND           = HRESULT($C00D0FB8);
  2699.   {$EXTERNALSYM NS_E_WMPXML_PINOTFOUND}
  2700. //
  2701. // MessageId: NS_E_WMPXML_EMPTYDOC
  2702. //
  2703. // MessageText:
  2704. //
  2705. //  Persist was called on the XML parser, but the parser has no data to persist.%0
  2706. //
  2707.   NS_E_WMPXML_EMPTYDOC             = HRESULT($C00D0FB9);
  2708.   {$EXTERNALSYM NS_E_WMPXML_EMPTYDOC}
  2709. //
  2710. // Miscellaneous Media Player Error codes
  2711. //
  2712. //
  2713. // MessageId: NS_E_WMP_WINDOWSAPIFAILURE
  2714. //
  2715. // MessageText:
  2716. //
  2717. //  A Windows API call failed but no error information was available.%0
  2718. //
  2719.   NS_E_WMP_WINDOWSAPIFAILURE       = HRESULT($C00D0FC8);
  2720.   {$EXTERNALSYM NS_E_WMP_WINDOWSAPIFAILURE}
  2721. //
  2722. // MessageId: NS_E_WMP_RECORDING_NOT_ALLOWED
  2723. //
  2724. // MessageText:
  2725. //
  2726. //  Windows Media Player cannot copy the file. Either the license restricts copying, or you must obtain a license to copy the file.%0
  2727. //
  2728.   NS_E_WMP_RECORDING_NOT_ALLOWED   = HRESULT($C00D0FC9);
  2729.   {$EXTERNALSYM NS_E_WMP_RECORDING_NOT_ALLOWED}
  2730. //
  2731. // MessageId: NS_E_DEVICE_NOT_READY
  2732. //
  2733. // MessageText:
  2734. //
  2735. //  Windows Media Player no longer detects a connected portable device. Reconnect your portable device, and try again.%0
  2736. //
  2737.   NS_E_DEVICE_NOT_READY            = HRESULT($C00D0FCA);
  2738.   {$EXTERNALSYM NS_E_DEVICE_NOT_READY}
  2739. //
  2740. // MessageId: NS_E_DAMAGED_FILE
  2741. //
  2742. // MessageText:
  2743. //
  2744. //  Windows Media Player cannot play the file because it is either damaged or corrupt.%0
  2745. //
  2746.   NS_E_DAMAGED_FILE                = HRESULT($C00D0FCB);
  2747.   {$EXTERNALSYM NS_E_DAMAGED_FILE}
  2748. //
  2749. // MessageId: NS_E_MPDB_GENERIC
  2750. //
  2751. // MessageText:
  2752. //
  2753. //  An error occurred when the Player was attempting to access information in your media library. Try closing and then reopening the Player.%0
  2754. //
  2755.   NS_E_MPDB_GENERIC                = HRESULT($C00D0FCC);
  2756.   {$EXTERNALSYM NS_E_MPDB_GENERIC}
  2757. //
  2758. // MessageId: NS_E_FILE_FAILED_CHECKS
  2759. //
  2760. // MessageText:
  2761. //
  2762. //  The file cannot be added to Media Library because it is smaller than the minimum-size requirement. Adjust the size requirements, and then try again.%0
  2763. //
  2764.   NS_E_FILE_FAILED_CHECKS          = HRESULT($C00D0FCD);
  2765.   {$EXTERNALSYM NS_E_FILE_FAILED_CHECKS}
  2766. //
  2767. // MessageId: NS_E_MEDIA_LIBRARY_FAILED
  2768. //
  2769. // MessageText:
  2770. //
  2771. //  Windows Media Player could not create Media Library. Check with your system administrator to get the necessary permissions to create Media Library on your computer, and then try installing the Player again.%0
  2772. //
  2773.   NS_E_MEDIA_LIBRARY_FAILED        = HRESULT($C00D0FCE);
  2774.   {$EXTERNALSYM NS_E_MEDIA_LIBRARY_FAILED}
  2775. //
  2776. // MessageId: NS_E_SHARING_VIOLATION
  2777. //
  2778. // MessageText:
  2779. //
  2780. //  The file is already in use. Close other programs that may be using the file, or stop playing the file, and try again.%0
  2781. //
  2782.   NS_E_SHARING_VIOLATION           = HRESULT($C00D0FCF);
  2783.   {$EXTERNALSYM NS_E_SHARING_VIOLATION}
  2784. //
  2785. // MessageId: NS_E_NO_ERROR_STRING_FOUND
  2786. //
  2787. // MessageText:
  2788. //
  2789. //  Windows Media Player has encountered an unknown error.%0
  2790. //
  2791.   NS_E_NO_ERROR_STRING_FOUND       = HRESULT($C00D0FD0);
  2792.   {$EXTERNALSYM NS_E_NO_ERROR_STRING_FOUND}
  2793. //
  2794. // MessageId: NS_E_WMPOCX_NO_REMOTE_CORE
  2795. //
  2796. // MessageText:
  2797. //
  2798. //  The Windows Media Player control was unable to connect to remote media services, but will continue with local media services.%0
  2799. //
  2800.   NS_E_WMPOCX_NO_REMOTE_CORE       = HRESULT($C00D0FD1);
  2801.   {$EXTERNALSYM NS_E_WMPOCX_NO_REMOTE_CORE}
  2802. //
  2803. // MessageId: NS_E_WMPOCX_NO_ACTIVE_CORE
  2804. //
  2805. // MessageText:
  2806. //
  2807. //  The requested method or property is not available because the Windows Media Player control has not been properly activated.%0
  2808. //
  2809.   NS_E_WMPOCX_NO_ACTIVE_CORE       = HRESULT($C00D0FD2);
  2810.   {$EXTERNALSYM NS_E_WMPOCX_NO_ACTIVE_CORE}
  2811. //
  2812. // MessageId: NS_E_WMPOCX_NOT_RUNNING_REMOTELY
  2813. //
  2814. // MessageText:
  2815. //
  2816. //  Windows Media Player ActiveX control is not running in remote mode.%0
  2817. //
  2818.   NS_E_WMPOCX_NOT_RUNNING_REMOTELY = HRESULT($C00D0FD3);
  2819.   {$EXTERNALSYM NS_E_WMPOCX_NOT_RUNNING_REMOTELY}
  2820. //
  2821. // MessageId: NS_E_WMPOCX_NO_REMOTE_WINDOW
  2822. //
  2823. // MessageText:
  2824. //
  2825. //  An error occurred when trying to get remote Windows Media Player window.%0
  2826. //
  2827.   NS_E_WMPOCX_NO_REMOTE_WINDOW     = HRESULT($C00D0FD4);
  2828.   {$EXTERNALSYM NS_E_WMPOCX_NO_REMOTE_WINDOW}
  2829. //
  2830. // MessageId: NS_E_WMPOCX_ERRORMANAGERNOTAVAILABLE
  2831. //
  2832. // MessageText:
  2833. //
  2834. //  Windows Media Player has encountered an unknown error.%0
  2835. //
  2836.   NS_E_WMPOCX_ERRORMANAGERNOTAVAILABLE = HRESULT($C00D0FD5);
  2837.   {$EXTERNALSYM NS_E_WMPOCX_ERRORMANAGERNOTAVAILABLE}
  2838. //
  2839. // MessageId: NS_E_PLUGIN_NOTSHUTDOWN
  2840. //
  2841. // MessageText:
  2842. //
  2843. //  Windows Media Player was not closed properly. A damaged or incompatible plug-in may have caused the problem to occur. As a precaution, all third-party plug-ins have been disabled.%0
  2844. //
  2845.   NS_E_PLUGIN_NOTSHUTDOWN          = HRESULT($C00D0FD6);
  2846.   {$EXTERNALSYM NS_E_PLUGIN_NOTSHUTDOWN}
  2847. //
  2848. // MessageId: NS_E_WMP_CANNOT_FIND_FOLDER
  2849. //
  2850. // MessageText:
  2851. //
  2852. //  Windows Media Player cannot find the specified path. Be sure the path is typed correctly. If it is, the path does not exist in the specified location, or the computer where the path is located is offline.%0
  2853. //
  2854.   NS_E_WMP_CANNOT_FIND_FOLDER      = HRESULT($C00D0FD7);
  2855.   {$EXTERNALSYM NS_E_WMP_CANNOT_FIND_FOLDER}
  2856. //
  2857. // MessageId: NS_E_WMP_STREAMING_RECORDING_NOT_ALLOWED
  2858. //
  2859. // MessageText:
  2860. //
  2861. //  Windows Media Player cannot copy streaming media.%0
  2862. //
  2863.   NS_E_WMP_STREAMING_RECORDING_NOT_ALLOWED = HRESULT($C00D0FD8);
  2864.   {$EXTERNALSYM NS_E_WMP_STREAMING_RECORDING_NOT_ALLOWED}
  2865. //
  2866. // MessageId: NS_E_WMP_PLUGINDLL_NOTFOUND
  2867. //
  2868. // MessageText:
  2869. //
  2870. //  Windows Media Player cannot find the selected plug-in. The Player will try to remove it from the menu. To use this plug-in, install it again.%0
  2871. //
  2872.   NS_E_WMP_PLUGINDLL_NOTFOUND      = HRESULT($C00D0FD9);
  2873.   {$EXTERNALSYM NS_E_WMP_PLUGINDLL_NOTFOUND}
  2874. //
  2875. // MessageId: NS_E_NEED_TO_ASK_USER
  2876. //
  2877. // MessageText:
  2878. //
  2879. //  Action requires input from the user.%0
  2880. //
  2881.   NS_E_NEED_TO_ASK_USER            = HRESULT($C00D0FDA);
  2882.   {$EXTERNALSYM NS_E_NEED_TO_ASK_USER}
  2883. //
  2884. // MessageId: NS_E_WMPOCX_PLAYER_NOT_DOCKED
  2885. //
  2886. // MessageText:
  2887. //
  2888. //  The Windows Media Player control must be in a docked state for this action to succeed.%0
  2889. //
  2890.   NS_E_WMPOCX_PLAYER_NOT_DOCKED    = HRESULT($C00D0FDB);
  2891.   {$EXTERNALSYM NS_E_WMPOCX_PLAYER_NOT_DOCKED}
  2892. //
  2893. // MessageId: NS_E_WMP_EXTERNAL_NOTREADY
  2894. //
  2895. // MessageText:
  2896. //
  2897. //  Media Player external object is not ready.%0
  2898. //
  2899.   NS_E_WMP_EXTERNAL_NOTREADY       = HRESULT($C00D0FDC);
  2900.   {$EXTERNALSYM NS_E_WMP_EXTERNAL_NOTREADY}
  2901. //
  2902. // MessageId: NS_E_WMP_MLS_STALE_DATA
  2903. //
  2904. // MessageText:
  2905. //
  2906. //  Metadata is stale. The operation failed.%0
  2907. //
  2908.   NS_E_WMP_MLS_STALE_DATA          = HRESULT($C00D0FDD);
  2909.   {$EXTERNALSYM NS_E_WMP_MLS_STALE_DATA}
  2910. //
  2911. // Generic Media PlayerUI error codes
  2912. //
  2913. //
  2914. // MessageId: NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED
  2915. //
  2916. // MessageText:
  2917. //
  2918. //  The control (%s) does not support creation of sub-controls, yet (%d) sub-controls have been specified.%0
  2919. //
  2920.   NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED = HRESULT($C00D0FDE);
  2921.   {$EXTERNALSYM NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED}
  2922. //
  2923. // MessageId: NS_E_WMP_UI_VERSIONMISMATCH
  2924. //
  2925. // MessageText:
  2926. //
  2927. //  Version mismatch: (%.1f required, %.1f found).%0
  2928. //
  2929.   NS_E_WMP_UI_VERSIONMISMATCH      = HRESULT($C00D0FDF);
  2930.   {$EXTERNALSYM NS_E_WMP_UI_VERSIONMISMATCH}
  2931. //
  2932. // MessageId: NS_E_WMP_UI_NOTATHEMEFILE
  2933. //
  2934. // MessageText:
  2935. //
  2936. //  The layout manager was given valid XML that wasn't a theme file.%0
  2937. //
  2938.   NS_E_WMP_UI_NOTATHEMEFILE        = HRESULT($C00D0FE0);
  2939.   {$EXTERNALSYM NS_E_WMP_UI_NOTATHEMEFILE}
  2940. //
  2941. // MessageId: NS_E_WMP_UI_SUBELEMENTNOTFOUND
  2942. //
  2943. // MessageText:
  2944. //
  2945. //  The %s subelement could not be found on the %s object.%0
  2946. //
  2947.   NS_E_WMP_UI_SUBELEMENTNOTFOUND   = HRESULT($C00D0FE1);
  2948.   {$EXTERNALSYM NS_E_WMP_UI_SUBELEMENTNOTFOUND}
  2949. //
  2950. // MessageId: NS_E_WMP_UI_VERSIONPARSE
  2951. //
  2952. // MessageText:
  2953. //
  2954. //  An error occurred parsing the version tag.nValid version tags are of the form:nnt<?wmp version='1.0'?>.%0
  2955. //
  2956.   NS_E_WMP_UI_VERSIONPARSE         = HRESULT($C00D0FE2);
  2957.   {$EXTERNALSYM NS_E_WMP_UI_VERSIONPARSE}
  2958. //
  2959. // MessageId: NS_E_WMP_UI_VIEWIDNOTFOUND
  2960. //
  2961. // MessageText:
  2962. //
  2963. //  The view specified in for the 'currentViewID' property (%s) was not found in this theme file.%0
  2964. //
  2965.   NS_E_WMP_UI_VIEWIDNOTFOUND       = HRESULT($C00D0FE3);
  2966.   {$EXTERNALSYM NS_E_WMP_UI_VIEWIDNOTFOUND}
  2967. //
  2968. // MessageId: NS_E_WMP_UI_PASSTHROUGH
  2969. //
  2970. // MessageText:
  2971. //
  2972. //  This error used internally for hit testing.%0
  2973. //
  2974.   NS_E_WMP_UI_PASSTHROUGH          = HRESULT($C00D0FE4);
  2975.   {$EXTERNALSYM NS_E_WMP_UI_PASSTHROUGH}
  2976. //
  2977. // MessageId: NS_E_WMP_UI_OBJECTNOTFOUND
  2978. //
  2979. // MessageText:
  2980. //
  2981. //  Attributes were specified for the %s object, but the object was not available to send them to.%0
  2982. //
  2983.   NS_E_WMP_UI_OBJECTNOTFOUND       = HRESULT($C00D0FE5);
  2984.   {$EXTERNALSYM NS_E_WMP_UI_OBJECTNOTFOUND}
  2985. //
  2986. // MessageId: NS_E_WMP_UI_SECONDHANDLER
  2987. //
  2988. // MessageText:
  2989. //
  2990. //  The %s event already has a handler, the second handler was ignored.%0
  2991. //
  2992.   NS_E_WMP_UI_SECONDHANDLER        = HRESULT($C00D0FE6);
  2993.   {$EXTERNALSYM NS_E_WMP_UI_SECONDHANDLER}
  2994. //
  2995. // MessageId: NS_E_WMP_UI_NOSKININZIP
  2996. //
  2997. // MessageText:
  2998. //
  2999. //  No .wms file found in skin archive.%0
  3000. //
  3001.   NS_E_WMP_UI_NOSKININZIP          = HRESULT($C00D0FE7);
  3002.   {$EXTERNALSYM NS_E_WMP_UI_NOSKININZIP}
  3003. //
  3004. // MessageId: NS_S_WMP_UI_VERSIONMISMATCH
  3005. //
  3006. // MessageText:
  3007. //
  3008. //  An upgrade may be needed for the theme manager to correctly show this skin. Skin reports version: %.1f.%0
  3009. //
  3010.   NS_S_WMP_UI_VERSIONMISMATCH      = HRESULT($000D0FE8);
  3011.   {$EXTERNALSYM NS_S_WMP_UI_VERSIONMISMATCH}
  3012. //
  3013. // MessageId: NS_S_WMP_EXCEPTION
  3014. //
  3015. // MessageText:
  3016. //
  3017. //  An error occurred in one of the UI components.%0
  3018. //
  3019.   NS_S_WMP_EXCEPTION               = HRESULT($000D0FE9);
  3020.   {$EXTERNALSYM NS_S_WMP_EXCEPTION}
  3021. //
  3022. // MessageId: NS_E_WMP_URLDOWNLOADFAILED
  3023. //
  3024. // MessageText:
  3025. //
  3026. //  Windows Media Player cannot save the file.%0
  3027. //
  3028.   NS_E_WMP_URLDOWNLOADFAILED       = HRESULT($C00D0FEA);
  3029.   {$EXTERNALSYM NS_E_WMP_URLDOWNLOADFAILED}
  3030. //
  3031. // MessageId: NS_E_WMPOCX_UNABLE_TO_LOAD_SKIN
  3032. //
  3033. // MessageText:
  3034. //
  3035. //  The Windows Media Player Control was unable to load the requested uiMode and could not successfully roll back to the existing uiMode.%0
  3036. //
  3037.   NS_E_WMPOCX_UNABLE_TO_LOAD_SKIN  = HRESULT($C00D0FEB);
  3038.   {$EXTERNALSYM NS_E_WMPOCX_UNABLE_TO_LOAD_SKIN}
  3039. //
  3040. // MessageId: NS_E_WMP_INVALID_SKIN
  3041. //
  3042. // MessageText:
  3043. //
  3044. //  The skin file is invalid.%0
  3045. //
  3046.   NS_E_WMP_INVALID_SKIN            = HRESULT($C00D0FEC);
  3047.   {$EXTERNALSYM NS_E_WMP_INVALID_SKIN}
  3048. //
  3049. // MessageId: NS_E_WMP_SENDMAILFAILED
  3050. //
  3051. // MessageText:
  3052. //
  3053. //  Windows Media Player cannot send the link because your e-mail program is not responding. Verify that your e-mail program is configured properly, and then try again. For more information about e-mail, see Windows Help%0
  3054. //
  3055.   NS_E_WMP_SENDMAILFAILED          = HRESULT($C00D0FED);
  3056.   {$EXTERNALSYM NS_E_WMP_SENDMAILFAILED}
  3057. //Save As
  3058. //
  3059. // MessageId: NS_E_WMP_SAVEAS_READONLY
  3060. //
  3061. // MessageText:
  3062. //
  3063. //  The Windows Media Player cannot overwrite a read only file. Choose another file to save as or change the file attributes.%0
  3064. //
  3065.   NS_E_WMP_SAVEAS_READONLY         = HRESULT($C00D0FF0);
  3066.   {$EXTERNALSYM NS_E_WMP_SAVEAS_READONLY}
  3067. //
  3068. // WMP Regional button control
  3069. //
  3070. //
  3071. // MessageId: NS_E_WMP_RBC_JPGMAPPINGIMAGE
  3072. //
  3073. // MessageText:
  3074. //
  3075. //  JPG Images are not recommended for use as a mappingImage.%0
  3076. //
  3077.   NS_E_WMP_RBC_JPGMAPPINGIMAGE     = HRESULT($C00D1004);
  3078.   {$EXTERNALSYM NS_E_WMP_RBC_JPGMAPPINGIMAGE}
  3079. //
  3080. // MessageId: NS_E_WMP_JPGTRANSPARENCY
  3081. //
  3082. // MessageText:
  3083. //
  3084. //  JPG Images are not recommended when using a transparencyColor.%0
  3085. //
  3086.   NS_E_WMP_JPGTRANSPARENCY         = HRESULT($C00D1005);
  3087.   {$EXTERNALSYM NS_E_WMP_JPGTRANSPARENCY}
  3088. //
  3089. // WMP Slider control
  3090. //
  3091. //
  3092. // MessageId: NS_E_WMP_INVALID_MAX_VAL
  3093. //
  3094. // MessageText:
  3095. //
  3096. //  The Max property cannot be less than Min property.%0
  3097. //
  3098.   NS_E_WMP_INVALID_MAX_VAL         = HRESULT($C00D1009);
  3099.   {$EXTERNALSYM NS_E_WMP_INVALID_MAX_VAL}
  3100. //
  3101. // MessageId: NS_E_WMP_INVALID_MIN_VAL
  3102. //
  3103. // MessageText:
  3104. //
  3105. //  The Min property cannot be greater than Max property.%0
  3106. //
  3107.   NS_E_WMP_INVALID_MIN_VAL         = HRESULT($C00D100A);
  3108.   {$EXTERNALSYM NS_E_WMP_INVALID_MIN_VAL}
  3109. //
  3110. // WMP CustomSlider control
  3111. //
  3112. //
  3113. // MessageId: NS_E_WMP_CS_JPGPOSITIONIMAGE
  3114. //
  3115. // MessageText:
  3116. //
  3117. //  JPG Images are not recommended for use as a positionImage.%0
  3118. //
  3119.   NS_E_WMP_CS_JPGPOSITIONIMAGE     = HRESULT($C00D100E);
  3120.   {$EXTERNALSYM NS_E_WMP_CS_JPGPOSITIONIMAGE}
  3121. //
  3122. // MessageId: NS_E_WMP_CS_NOTEVENLYDIVISIBLE
  3123. //
  3124. // MessageText:
  3125. //
  3126. //  The (%s) image's size is not evenly divisible by the positionImage's size.%0
  3127. //
  3128.   NS_E_WMP_CS_NOTEVENLYDIVISIBLE   = HRESULT($C00D100F);
  3129.   {$EXTERNALSYM NS_E_WMP_CS_NOTEVENLYDIVISIBLE}
  3130. //
  3131. // WMP ZIP Decoder
  3132. //
  3133. //
  3134. // MessageId: NS_E_WMPZIP_NOTAZIPFILE
  3135. //
  3136. // MessageText:
  3137. //
  3138. //  The ZIP reader opened a file and its signature didn't match that of ZIP files.%0
  3139. //
  3140.   NS_E_WMPZIP_NOTAZIPFILE          = HRESULT($C00D1018);
  3141.   {$EXTERNALSYM NS_E_WMPZIP_NOTAZIPFILE}
  3142. //
  3143. // MessageId: NS_E_WMPZIP_CORRUPT
  3144. //
  3145. // MessageText:
  3146. //
  3147. //  The ZIP reader has detected that the file is corrupt.%0
  3148. //
  3149.   NS_E_WMPZIP_CORRUPT              = HRESULT($C00D1019);
  3150.   {$EXTERNALSYM NS_E_WMPZIP_CORRUPT}
  3151. //
  3152. // MessageId: NS_E_WMPZIP_FILENOTFOUND
  3153. //
  3154. // MessageText:
  3155. //
  3156. //  GetFileStream, SaveToFile, or SaveTemp file was called on the ZIP reader with a filename that was not found in the zip file.%0
  3157. //
  3158.   NS_E_WMPZIP_FILENOTFOUND         = HRESULT($C00D101A);
  3159.   {$EXTERNALSYM NS_E_WMPZIP_FILENOTFOUND}
  3160. //
  3161. // WMP Image Decoding Error codes
  3162. //
  3163. //
  3164. // MessageId: NS_E_WMP_IMAGE_FILETYPE_UNSUPPORTED
  3165. //
  3166. // MessageText:
  3167. //
  3168. //  Image type not supported.%0
  3169. //
  3170.   NS_E_WMP_IMAGE_FILETYPE_UNSUPPORTED = HRESULT($C00D1022);
  3171.   {$EXTERNALSYM NS_E_WMP_IMAGE_FILETYPE_UNSUPPORTED}
  3172. //
  3173. // MessageId: NS_E_WMP_IMAGE_INVALID_FORMAT
  3174. //
  3175. // MessageText:
  3176. //
  3177. //  Image file may be corrupt.%0
  3178. //
  3179.   NS_E_WMP_IMAGE_INVALID_FORMAT    = HRESULT($C00D1023);
  3180.   {$EXTERNALSYM NS_E_WMP_IMAGE_INVALID_FORMAT}
  3181. //
  3182. // MessageId: NS_E_WMP_GIF_UNEXPECTED_ENDOFFILE
  3183. //
  3184. // MessageText:
  3185. //
  3186. //  Unexpected end of file. GIF file may be corrupt.%0
  3187. //
  3188.   NS_E_WMP_GIF_UNEXPECTED_ENDOFFILE = HRESULT($C00D1024);
  3189.   {$EXTERNALSYM NS_E_WMP_GIF_UNEXPECTED_ENDOFFILE}
  3190. //
  3191. // MessageId: NS_E_WMP_GIF_INVALID_FORMAT
  3192. //
  3193. // MessageText:
  3194. //
  3195. //  Invalid GIF file.%0
  3196. //
  3197.   NS_E_WMP_GIF_INVALID_FORMAT      = HRESULT($C00D1025);
  3198.   {$EXTERNALSYM NS_E_WMP_GIF_INVALID_FORMAT}
  3199. //
  3200. // MessageId: NS_E_WMP_GIF_BAD_VERSION_NUMBER
  3201. //
  3202. // MessageText:
  3203. //
  3204. //  Invalid GIF version. Only 87a or 89a supported.%0
  3205. //
  3206.   NS_E_WMP_GIF_BAD_VERSION_NUMBER  = HRESULT($C00D1026);
  3207.   {$EXTERNALSYM NS_E_WMP_GIF_BAD_VERSION_NUMBER}
  3208. //
  3209. // MessageId: NS_E_WMP_GIF_NO_IMAGE_IN_FILE
  3210. //
  3211. // MessageText:
  3212. //
  3213. //  No images found in GIF file.%0
  3214. //
  3215.   NS_E_WMP_GIF_NO_IMAGE_IN_FILE    = HRESULT($C00D1027);
  3216.   {$EXTERNALSYM NS_E_WMP_GIF_NO_IMAGE_IN_FILE}
  3217. //
  3218. // MessageId: NS_E_WMP_PNG_INVALIDFORMAT
  3219. //
  3220. // MessageText:
  3221. //
  3222. //  Invalid PNG image file format.%0
  3223. //
  3224.   NS_E_WMP_PNG_INVALIDFORMAT       = HRESULT($C00D1028);
  3225.   {$EXTERNALSYM NS_E_WMP_PNG_INVALIDFORMAT}
  3226. //
  3227. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_BITDEPTH
  3228. //
  3229. // MessageText:
  3230. //
  3231. //  PNG bitdepth not supported.%0
  3232. //
  3233.   NS_E_WMP_PNG_UNSUPPORTED_BITDEPTH = HRESULT($C00D1029);
  3234.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_BITDEPTH}
  3235. //
  3236. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_COMPRESSION
  3237. //
  3238. // MessageText:
  3239. //
  3240. //  Compression format defined in PNG file not supported,%0
  3241. //
  3242.   NS_E_WMP_PNG_UNSUPPORTED_COMPRESSION = HRESULT($C00D102A);
  3243.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_COMPRESSION}
  3244. //
  3245. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_FILTER
  3246. //
  3247. // MessageText:
  3248. //
  3249. //  Filter method defined in PNG file not supported.%0
  3250. //
  3251.   NS_E_WMP_PNG_UNSUPPORTED_FILTER  = HRESULT($C00D102B);
  3252.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_FILTER}
  3253. //
  3254. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_INTERLACE
  3255. //
  3256. // MessageText:
  3257. //
  3258. //  Interlace method defined in PNG file not supported.%0
  3259. //
  3260.   NS_E_WMP_PNG_UNSUPPORTED_INTERLACE = HRESULT($C00D102C);
  3261.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_INTERLACE}
  3262. //
  3263. // MessageId: NS_E_WMP_PNG_UNSUPPORTED_BAD_CRC
  3264. //
  3265. // MessageText:
  3266. //
  3267. //  Bad CRC in PNG file.%0
  3268. //
  3269.   NS_E_WMP_PNG_UNSUPPORTED_BAD_CRC = HRESULT($C00D102D);
  3270.   {$EXTERNALSYM NS_E_WMP_PNG_UNSUPPORTED_BAD_CRC}
  3271. //
  3272. // MessageId: NS_E_WMP_BMP_INVALID_BITMASK
  3273. //
  3274. // MessageText:
  3275. //
  3276. //  Invalid bitmask in BMP file.%0
  3277. //
  3278.   NS_E_WMP_BMP_INVALID_BITMASK     = HRESULT($C00D102E);
  3279.   {$EXTERNALSYM NS_E_WMP_BMP_INVALID_BITMASK}
  3280. //
  3281. // MessageId: NS_E_WMP_BMP_TOPDOWN_DIB_UNSUPPORTED
  3282. //
  3283. // MessageText:
  3284. //
  3285. //  Topdown DIB not supported.%0
  3286. //
  3287.   NS_E_WMP_BMP_TOPDOWN_DIB_UNSUPPORTED = HRESULT($C00D102F);
  3288.   {$EXTERNALSYM NS_E_WMP_BMP_TOPDOWN_DIB_UNSUPPORTED}
  3289. //
  3290. // MessageId: NS_E_WMP_BMP_BITMAP_NOT_CREATED
  3291. //
  3292. // MessageText:
  3293. //
  3294. //  Bitmap could not be created.%0
  3295. //
  3296.   NS_E_WMP_BMP_BITMAP_NOT_CREATED  = HRESULT($C00D1030);
  3297.   {$EXTERNALSYM NS_E_WMP_BMP_BITMAP_NOT_CREATED}
  3298. //
  3299. // MessageId: NS_E_WMP_BMP_COMPRESSION_UNSUPPORTED
  3300. //
  3301. // MessageText:
  3302. //
  3303. //  Compression format defined in BMP not supported.%0
  3304. //
  3305.   NS_E_WMP_BMP_COMPRESSION_UNSUPPORTED = HRESULT($C00D1031);
  3306.   {$EXTERNALSYM NS_E_WMP_BMP_COMPRESSION_UNSUPPORTED}
  3307. //
  3308. // MessageId: NS_E_WMP_BMP_INVALID_FORMAT
  3309. //
  3310. // MessageText:
  3311. //
  3312. //  Invalid Bitmap format.%0
  3313. //
  3314.   NS_E_WMP_BMP_INVALID_FORMAT      = HRESULT($C00D1032);
  3315.   {$EXTERNALSYM NS_E_WMP_BMP_INVALID_FORMAT}
  3316. //
  3317. // MessageId: NS_E_WMP_JPG_JERR_ARITHCODING_NOTIMPL
  3318. //
  3319. // MessageText:
  3320. //
  3321. //  JPEG Arithmetic coding not supported.%0
  3322. //
  3323.   NS_E_WMP_JPG_JERR_ARITHCODING_NOTIMPL = HRESULT($C00D1033);
  3324.   {$EXTERNALSYM NS_E_WMP_JPG_JERR_ARITHCODING_NOTIMPL}
  3325. //
  3326. // MessageId: NS_E_WMP_JPG_INVALID_FORMAT
  3327. //
  3328. // MessageText:
  3329. //
  3330. //  Invalid JPEG format.%0
  3331. //
  3332.   NS_E_WMP_JPG_INVALID_FORMAT      = HRESULT($C00D1034);
  3333.   {$EXTERNALSYM NS_E_WMP_JPG_INVALID_FORMAT}
  3334. //
  3335. // MessageId: NS_E_WMP_JPG_BAD_DCTSIZE
  3336. //
  3337. // MessageText:
  3338. //
  3339. //  Invalid JPEG format.%0
  3340. //
  3341.   NS_E_WMP_JPG_BAD_DCTSIZE         = HRESULT($C00D1035);
  3342.   {$EXTERNALSYM NS_E_WMP_JPG_BAD_DCTSIZE}
  3343. //
  3344. // MessageId: NS_E_WMP_JPG_BAD_VERSION_NUMBER
  3345. //
  3346. // MessageText:
  3347. //
  3348. //  Internal version error. Unexpected JPEG library version.%0
  3349. //
  3350.   NS_E_WMP_JPG_BAD_VERSION_NUMBER  = HRESULT($C00D1036);
  3351.   {$EXTERNALSYM NS_E_WMP_JPG_BAD_VERSION_NUMBER}
  3352. //
  3353. // MessageId: NS_E_WMP_JPG_BAD_PRECISION
  3354. //
  3355. // MessageText:
  3356. //
  3357. //  Internal JPEG Library error. Unsupported JPEG data precision.%0
  3358. //
  3359.   NS_E_WMP_JPG_BAD_PRECISION       = HRESULT($C00D1037);
  3360.   {$EXTERNALSYM NS_E_WMP_JPG_BAD_PRECISION}
  3361. //
  3362. // MessageId: NS_E_WMP_JPG_CCIR601_NOTIMPL
  3363. //
  3364. // MessageText:
  3365. //
  3366. //  JPEG CCIR601 not supported.%0
  3367. //
  3368.   NS_E_WMP_JPG_CCIR601_NOTIMPL     = HRESULT($C00D1038);
  3369.   {$EXTERNALSYM NS_E_WMP_JPG_CCIR601_NOTIMPL}
  3370. //
  3371. // MessageId: NS_E_WMP_JPG_NO_IMAGE_IN_FILE
  3372. //
  3373. // MessageText:
  3374. //
  3375. //  No image found in JPEG file.%0
  3376. //
  3377.   NS_E_WMP_JPG_NO_IMAGE_IN_FILE    = HRESULT($C00D1039);
  3378.   {$EXTERNALSYM NS_E_WMP_JPG_NO_IMAGE_IN_FILE}
  3379. //
  3380. // MessageId: NS_E_WMP_JPG_READ_ERROR
  3381. //
  3382. // MessageText:
  3383. //
  3384. //  Could not read JPEG file.%0
  3385. //
  3386.   NS_E_WMP_JPG_READ_ERROR          = HRESULT($C00D103A);
  3387.   {$EXTERNALSYM NS_E_WMP_JPG_READ_ERROR}
  3388. //
  3389. // MessageId: NS_E_WMP_JPG_FRACT_SAMPLE_NOTIMPL
  3390. //
  3391. // MessageText:
  3392. //
  3393. //  JPEG Fractional sampling not supported.%0
  3394. //
  3395.   NS_E_WMP_JPG_FRACT_SAMPLE_NOTIMPL = HRESULT($C00D103B);
  3396.   {$EXTERNALSYM NS_E_WMP_JPG_FRACT_SAMPLE_NOTIMPL}
  3397. //
  3398. // MessageId: NS_E_WMP_JPG_IMAGE_TOO_BIG
  3399. //
  3400. // MessageText:
  3401. //
  3402. //  JPEG image too large. Maximum image size supported is 65500 X 65500.%0
  3403. //
  3404.   NS_E_WMP_JPG_IMAGE_TOO_BIG       = HRESULT($C00D103C);
  3405.   {$EXTERNALSYM NS_E_WMP_JPG_IMAGE_TOO_BIG}
  3406. //
  3407. // MessageId: NS_E_WMP_JPG_UNEXPECTED_ENDOFFILE
  3408. //
  3409. // MessageText:
  3410. //
  3411. //  Unexpected end of file reached in JPEG file.%0
  3412. //
  3413.   NS_E_WMP_JPG_UNEXPECTED_ENDOFFILE = HRESULT($C00D103D);
  3414.   {$EXTERNALSYM NS_E_WMP_JPG_UNEXPECTED_ENDOFFILE}
  3415. //
  3416. // MessageId: NS_E_WMP_JPG_SOF_UNSUPPORTED
  3417. //
  3418. // MessageText:
  3419. //
  3420. //  Unsupported JPEG SOF marker found.%0
  3421. //
  3422.   NS_E_WMP_JPG_SOF_UNSUPPORTED     = HRESULT($C00D103E);
  3423.   {$EXTERNALSYM NS_E_WMP_JPG_SOF_UNSUPPORTED}
  3424. //
  3425. // MessageId: NS_E_WMP_JPG_UNKNOWN_MARKER
  3426. //
  3427. // MessageText:
  3428. //
  3429. //  Unknown JPEG marker found.%0
  3430. //
  3431.   NS_E_WMP_JPG_UNKNOWN_MARKER      = HRESULT($C00D103F);
  3432.   {$EXTERNALSYM NS_E_WMP_JPG_UNKNOWN_MARKER}
  3433. //
  3434. // MessageId: NS_S_WMP_LOADED_GIF_IMAGE
  3435. //
  3436. // MessageText:
  3437. //
  3438. //  Successfully loaded a GIF file.%0
  3439. //
  3440.   NS_S_WMP_LOADED_GIF_IMAGE        = HRESULT($000D1040);
  3441.   {$EXTERNALSYM NS_S_WMP_LOADED_GIF_IMAGE}
  3442. //
  3443. // MessageId: NS_S_WMP_LOADED_PNG_IMAGE
  3444. //
  3445. // MessageText:
  3446. //
  3447. //  Successfully loaded a PNG file.%0
  3448. //
  3449.   NS_S_WMP_LOADED_PNG_IMAGE        = HRESULT($000D1041);
  3450.   {$EXTERNALSYM NS_S_WMP_LOADED_PNG_IMAGE}
  3451. //
  3452. // MessageId: NS_S_WMP_LOADED_BMP_IMAGE
  3453. //
  3454. // MessageText:
  3455. //
  3456. //  Successfully loaded a BMP file.%0
  3457. //
  3458.   NS_S_WMP_LOADED_BMP_IMAGE        = HRESULT($000D1042);
  3459.   {$EXTERNALSYM NS_S_WMP_LOADED_BMP_IMAGE}
  3460. //
  3461. // MessageId: NS_S_WMP_LOADED_JPG_IMAGE
  3462. //
  3463. // MessageText:
  3464. //
  3465. //  Successfully loaded a JPG file.%0
  3466. //
  3467.   NS_S_WMP_LOADED_JPG_IMAGE        = HRESULT($000D1043);
  3468.   {$EXTERNALSYM NS_S_WMP_LOADED_JPG_IMAGE}
  3469. //
  3470. // WMP WM Runtime Error codes
  3471. //
  3472. //
  3473. // MessageId: NS_E_WMG_RATEUNAVAILABLE
  3474. //
  3475. // MessageText:
  3476. //
  3477. //  The requested playback rate is unavailable on this content.%0
  3478. //
  3479.   NS_E_WMG_RATEUNAVAILABLE         = HRESULT($C00D104A);
  3480.   {$EXTERNALSYM NS_E_WMG_RATEUNAVAILABLE}
  3481. //
  3482. // MessageId: NS_E_WMG_PLUGINUNAVAILABLE
  3483. //
  3484. // MessageText:
  3485. //
  3486. //  The rendering or digital signal processing plugin could not be instantiated.%0
  3487. //
  3488.   NS_E_WMG_PLUGINUNAVAILABLE       = HRESULT($C00D104B);
  3489.   {$EXTERNALSYM NS_E_WMG_PLUGINUNAVAILABLE}
  3490. //
  3491. // MessageId: NS_E_WMG_CANNOTQUEUE
  3492. //
  3493. // MessageText:
  3494. //
  3495. //  The file cannot be queued for seamless playback.%0
  3496. //
  3497.   NS_E_WMG_CANNOTQUEUE             = HRESULT($C00D104C);
  3498.   {$EXTERNALSYM NS_E_WMG_CANNOTQUEUE}
  3499. //
  3500. // MessageId: NS_E_WMG_PREROLLLICENSEACQUISITIONNOTALLOWED
  3501. //
  3502. // MessageText:
  3503. //
  3504. //  Windows Media Player cannot acquire the license for a file that is being prerolled.%0
  3505. //
  3506.   NS_E_WMG_PREROLLLICENSEACQUISITIONNOTALLOWED = HRESULT($C00D104D);
  3507.   {$EXTERNALSYM NS_E_WMG_PREROLLLICENSEACQUISITIONNOTALLOWED}
  3508. //
  3509. // MessageId: NS_E_WMG_UNEXPECTEDPREROLLSTATUS
  3510. //
  3511. // MessageText:
  3512. //
  3513. //  Windows Media Player received an unexpected message while attempting to preroll a file.%0
  3514. //
  3515.   NS_E_WMG_UNEXPECTEDPREROLLSTATUS = HRESULT($C00D104E);
  3516.   {$EXTERNALSYM NS_E_WMG_UNEXPECTEDPREROLLSTATUS}
  3517. //
  3518. // MessageId: NS_E_WMG_INVALIDSTATE
  3519. //
  3520. // MessageText:
  3521. //
  3522. //  Operation attempted in an invalid graph state.%0
  3523. //
  3524.   NS_E_WMG_INVALIDSTATE            = HRESULT($C00D1054);
  3525.   {$EXTERNALSYM NS_E_WMG_INVALIDSTATE}