问题描述
LPDISPATCH InlineShapes :: AddPicture(LPCTSTR FileName,VARIANT * LinkToFile,VARIANT * SaveWithDocument,VARIANT * Range);
LPDISPATCH InlineShapes::AddPicture(LPCTSTR FileName, VARIANT* LinkToFile, VARIANT* SaveWithDocument, VARIANT* Range);
"VARIANT * Range",我如何为这个变量赋值?
"VARIANT* Range",How do I assign a value to this variable?
推荐答案
感谢您在此处发布。
>> LPDISPATCH InlineShapes :: AddPicture(LPCTSTR FileName,VARIANT * LinkToFile,VARIANT * SaveWithDocument,VARIANT *范围);
"VARIANT *范围",如何为此变量指定值?
VARIANTARG描述DISPPARAMS中传递的参数,VARIANT指定不能通过引用传递的变量数据。
VARIANTARG describes arguments passed within DISPPARAMS, and VARIANT to specify variant data that cannot be passed by reference.
这是VARIANT结构的定义。你可以参考它。
Here is the definition of the VARIANT structure. You could refer to it.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms221627(v = vs.85).aspx
最佳问候,
Baron Bi
这篇关于这个界面如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!