TSetProperty
Messages
FPCM_TSETPROPERTY
Structures
struct SFPCTSetProperty
{
// [in]
struct
{
LPCTSTR lpszBuffer;
} target;
// [in]
int property;
// [in]
struct
{
LPCTSTR lpszBuffer;
} value;
// [out]
HRESULT hr;
};
Description
Calls TSetProperty.
Example
void InvokeTSetProperty(HWND hwndFlashPlayerControl, LPCTSTR target, int property, LPCTSTR value)
{
SFPCTSetProperty info;
info.target.lpszBuffer = target;
info.property = property;
info.value.lpszBuffer = value;
::SendMessage(hwndFlashPlayerControl, FPCM_TSETPROPERTY, 0, (LPARAM)&info);
if FAILED(info.hr)
// Error
{
// ...
}
else
// OK
{
// ...
}
}