IRunningObjectTable.GetTimeOfLastChange(IMoniker, FILETIME) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在“正在运行的对象表”(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
当此对象返回时,包含上次更改时间的对象。 此参数未初始化传递。
返回
一个 HRESULT 值,该值指示作的成功或失败。
注解
有关详细信息,请参阅 IRunningObjectTable::GetTimeOfLastChange 方法。