Windows Media Format SDK banner art
PreviousNext

IWMHeaderInfo::GetScriptCount

The GetScriptCount method returns the number of scripts currently in the header section of the Windows Media file.

Syntax

HRESULT GetScriptCount(
  WORD*  pcScripts
);

Parameters

  pcScripts

[out]  Pointer to a count of scripts.

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 is not in a configurable state.
E_UNEXPECTED The method failed for an unspecified reason.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.