IActiveScriptPropertyGetProperty
The IActiveScriptProperty::GetProperty method retrieves the value of a specified property for the script engine. The method takes two parameters: the property name and a pointer to a VARIANT structure that receives the property value.
Syntax:
HRESULT GetProperty( LPCOLESTR name, VARIANT *value );
Parameters:
name: A null-terminated string that specifies the name of the property to retrieve.
value: A pointer to a VARIANT structure that receives the value of the property.
Return Value:
This method returns an HRESULT value. If the method succeeds, it returns S_OK. If it fails, it returns an error code
原文地址: https://www.cveoy.top/t/topic/chzg 著作权归作者所有。请勿转载和采集!