共用方式為


CADWORD 結構 (ocidl.h)

指定值的計數陣列,可用來取得對應至屬性其中一個預先定義字串的值。

語法

typedef struct tagCADWORD {
  ULONG cElems;
  DWORD *pElems;
} CADWORD, *LPCADWORD;

成員

cElems

pElems 所指向的陣列大小。

pElems

值的陣列指標,每個指標都可以傳遞至 IPerPropertyBrowsing::GetPredefinedValue 方法,以取得其中一個屬性預先定義字元串的對應值。 此陣列是由使用 CoTaskMemAlloc 的被呼叫者所配置,並且由使用 CoTaskMemFree 的呼叫端釋出。

規格需求

需求
最低支援的用戶端 Windows 2000 專業版 [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限傳統型應用程式]
標頭 ocidl.h

另請參閱

CALPOLESTR

IPerPropertyBrowsing::GetPredefinedStrings

IPerPropertyBrowsing::GetPredefinedValue