IClockVector::GetClockVectorElementCount 方法 (winsync.h)

获取时钟向量中包含的元素数。

语法

HRESULT GetClockVectorElementCount(
  [out] DWORD *pdwCount
);

参数

[out] pdwCount

返回时钟向量中包含的元素数。

返回值

可能的返回代码包括但不限于下表中显示的值。

返回代码 说明
S_OK
方法成功。
E_POINTER
无效指针。

要求

   
最低受支持的客户端 Windows 7 [仅限桌面应用]
最低受支持的服务器 Windows Server 2008 R2 [仅限桌面应用]
目标平台 Windows
标头 winsync.h

另请参阅

IClockVector 接口