次の方法で共有


IAMPlayList::GetNamedEvent (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the item on the playlist that is associated with a given event for a specified item on the playlist.

Syntax

HRESULT GetNamedEvent(
  WCHAR pwszEventName,
  DWORD dwItemIndex,
  IAMPlayListItem** ppItem,
  DWORD* pdwFlags
);

Parameters

  • pwszEventName
    [in] Pointer to a named event.
  • dwItemIndex
    [in] Index number of the specified playlist item.
  • ppItem
    [out] Pointer to an IAMPlayListItem interface pointer corresponding to the playlist item that the dwItemIndex playlist item associates with the pwszEventName event.
  • pdwFlags
    [out] Flags for the ppItem playlist item.

Return Value

Returns an HRESULT value.

Requirements

Header playlist.h
Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

IAMPlayList Interface