MFPMediaItem_GetURLA

Gets the URL that was used to create the media item. This is the Ansi version of MFPMediaItem_GetURL. For the Wide/Unicode version see MFPMediaItem_GetURLW

MFPMediaItem_GetURLA PROTO pMediaItem:DWORD, ppszURL:DWORD

Parameters

  • pMediaItem - A pointer to the Media Item (IMFPMediaItem) object.

  • ppszURL - pointed to a DWORD that holds a pointer to the URL string.

Returns

TRUE if successful or FALSE otherwise.

Notes

Use GlobalFree on the ppszURL once no longer required.

See Also

MFPMediaItem_GetURLW