Windows Media Format SDK banner art
PreviousNext

IWMHeaderInfo::RemoveScript

The RemoveScript method enables the writer to remove a script from the header section of the Windows Media file, if its index is specified.

Syntax

HRESULT RemoveScript(
  WORD  wIndex
);

Parameters

  wIndex

[in]  Word containing the index.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
NS_E_INVALID_STATE The writer cannot be currently configured.
E_UNEXPECTED The method failed for an unspecified reason.

Remarks

The writer only supports this method before the BeginWriting method has been called.  This method is not supported by the reader.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.