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