| 8965 | } |
| 8966 | |
| 8967 | ResultType SetObjectIntProperty(IObject *aObject, LPTSTR aPropName, __int64 aValue, ResultToken &aResultToken) |
| 8968 | { |
| 8969 | FuncResult result_token; |
| 8970 | ExprTokenType this_token = aObject, value_token = aValue, *param = &value_token; |
| 8971 | |
| 8972 | auto result = aObject->Invoke(result_token, IT_SET, aPropName, this_token, ¶m, 1); |
| 8973 | |
| 8974 | result_token.Free(); |
| 8975 | if (result == FAIL || result == EARLY_EXIT) |
| 8976 | return aResultToken.SetExitResult(result); |
| 8977 | if (result == INVOKE_NOT_HANDLED) |
| 8978 | return aResultToken.UnknownMemberError(ExprTokenType(aObject), IT_GET, aPropName); |
| 8979 | return OK; |
| 8980 | } |
| 8981 | |
| 8982 | ResultType GetObjectPtrProperty(IObject *aObject, LPTSTR aPropName, UINT_PTR &aPtr, ResultToken &aResultToken, bool aOptional) |
| 8983 | { |
no test coverage detected