SetVariable
Messages
FPCM_SETVARIABLE
Structures
struct SFPCSetVariable
{
// [in]
struct
{
LPCTSTR lpszBuffer;
} name;
// [in]
struct
{
LPCTSTR lpszBuffer;
} value;
// [out]
HRESULT hr;
};
Description
Calls SetVariable.
Example
void InvokeSetVariable(HWND hwndFlashPlayerControl, LPCTSTR name, LPCTSTR value)
{
SFPCSetVariable info;
info.name.lpszBuffer = name;
info.value.lpszBuffer = value;
::SendMessage(hwndFlashPlayerControl, FPCM_SETVARIABLE, 0, (LPARAM)&info);
if FAILED(info.hr)
// Error
{
// ...
}
else
// OK
{
// ...
}
}