IRunningObjectTable.GetTimeOfLastChange(IMoniker, FILETIME) 方法

定义

在运行对象表 (ROT) 中搜索此名字对象并报告所记录的更改时间(如果存在的话)。

public:
 int GetTimeOfLastChange(System::Runtime::InteropServices::ComTypes::IMoniker ^ pmkObjectName, [Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::FILETIME % pfiletime);
public int GetTimeOfLastChange (System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName, out System.Runtime.InteropServices.ComTypes.FILETIME pfiletime);
abstract member GetTimeOfLastChange : System.Runtime.InteropServices.ComTypes.IMoniker * FILETIME -> int
Public Function GetTimeOfLastChange (pmkObjectName As IMoniker, ByRef pfiletime As FILETIME) As Integer

参数

pmkObjectName
IMoniker

对要在运行对象表 (ROT) 中搜索的名字对象的引用。

pfiletime
FILETIME

此对象返回时,包含对象的上次更改时间。 此参数未经初始化即被传递。

返回

Int32

一个 HRESULT 值,该值指示操作是成功还是失败。

注解

有关详细信息,请参阅 IRunningObjectTable::GetTimeOfLastChange 方法

适用于