IRunningObjectTable.GetTimeOfLastChange(IMoniker, FILETIME) 方法

定義

在執行物件表格 (ROT) 中搜尋這個 Moniker,並報告變更的記錄時間 (如果有的話)。

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) 中搜尋之 Moniker 的參考。

pfiletime
FILETIME

這個物件傳回時,包含物件上次變更的時間。 這個參數會以未初始化的狀態傳遞。

傳回

HRESULT 值,指出作業成功或失敗。

備註

如需詳細資訊,請參閱 IRunningObjectTable::GetTimeOfLastChange 方法

適用於