TStopPlay

Messages

FPCM_TSTOPPLAY

Structures

struct SFPCTStopPlay
{
    // [in]
    struct
    {
        LPCTSTR lpszBuffer;
    } target;
 
    // [out]
    HRESULT hr;
};

Description

Calls TStopPlay.

Example

void InvokeTStopPlay(HWND hwndFlashPlayerControl, LPCTSTR target)
{
    SFPCTStopPlay info;
 
    info.target.lpszBuffer = target;
 
    ::SendMessage(hwndFlashPlayerControl, FPCM_TSTOPPLAY, 0, (LPARAM)&info);
 
    if FAILED(info.hr)
        // Error
    {
        // ...
    }
    else
        // OK
    {
        // ...
    }
}