Win32 API 日本語リファレンス
ホームStorage.Xps › IXpsOMCoreProperties

IXpsOMCoreProperties

COM
IID3340fe8f-4027-4aa1-8f5f-d35ae45fe597継承元IXpsOMPart自前メソッド開始 vtbl5

メソッド 34

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 5 HRESULT GetOwner(IXpsOMPackage** package)
packageIXpsOMPackage**outこのコアプロパティを所有する親パッケージへのポインタを受け取る。
vtbl 6 HRESULT GetCategory(LPWSTR* category)
categoryLPWSTR*outドキュメントのカテゴリ文字列を受け取る。
vtbl 7 HRESULT SetCategory(LPWSTR category)
categoryLPWSTRin設定するカテゴリ文字列を指定する。
vtbl 8 HRESULT GetContentStatus(LPWSTR* contentStatus)
contentStatusLPWSTR*outコンテンツの状態を示す文字列を受け取る。
vtbl 9 HRESULT SetContentStatus(LPWSTR contentStatus)
contentStatusLPWSTRin設定するコンテンツの状態文字列を指定する。
vtbl 10 HRESULT GetContentType(LPWSTR* contentType)
contentTypeLPWSTR*outコンテンツの種類を示す文字列を受け取る。
vtbl 11 HRESULT SetContentType(LPWSTR contentType)
contentTypeLPWSTRin設定するコンテンツの種類文字列を指定する。
vtbl 12 HRESULT GetCreated(SYSTEMTIME* created)
createdSYSTEMTIME*outドキュメントの作成日時(SYSTEMTIME)を受け取る。
vtbl 13 HRESULT SetCreated(SYSTEMTIME* created)
createdSYSTEMTIME*in設定する作成日時(SYSTEMTIME)へのポインタを指定する。
vtbl 14 HRESULT GetCreator(LPWSTR* creator)
creatorLPWSTR*outドキュメントの作成者文字列を受け取る。
vtbl 15 HRESULT SetCreator(LPWSTR creator)
creatorLPWSTRin設定する作成者文字列を指定する。
vtbl 16 HRESULT GetDescription(LPWSTR* description)
descriptionLPWSTR*outドキュメントの説明文字列を受け取る。
vtbl 17 HRESULT SetDescription(LPWSTR description)
descriptionLPWSTRin設定する説明文字列を指定する。
vtbl 18 HRESULT GetIdentifier(LPWSTR* identifier)
identifierLPWSTR*outドキュメントの識別子文字列を受け取る。
vtbl 19 HRESULT SetIdentifier(LPWSTR identifier)
identifierLPWSTRin設定する識別子文字列を指定する。
vtbl 20 HRESULT GetKeywords(LPWSTR* keywords)
keywordsLPWSTR*outドキュメントのキーワード文字列を受け取る。
vtbl 21 HRESULT SetKeywords(LPWSTR keywords)
keywordsLPWSTRin設定するキーワード文字列を指定する。
vtbl 22 HRESULT GetLanguage(LPWSTR* language)
languageLPWSTR*outドキュメントの言語文字列を受け取る。
vtbl 23 HRESULT SetLanguage(LPWSTR language)
languageLPWSTRin設定する言語文字列を指定する。
vtbl 24 HRESULT GetLastModifiedBy(LPWSTR* lastModifiedBy)
lastModifiedByLPWSTR*out最終更新者の文字列を受け取る。
vtbl 25 HRESULT SetLastModifiedBy(LPWSTR lastModifiedBy)
lastModifiedByLPWSTRin設定する最終更新者の文字列を指定する。
vtbl 26 HRESULT GetLastPrinted(SYSTEMTIME* lastPrinted)
lastPrintedSYSTEMTIME*out最終印刷日時(SYSTEMTIME)を受け取る。
vtbl 27 HRESULT SetLastPrinted(SYSTEMTIME* lastPrinted)
lastPrintedSYSTEMTIME*in設定する最終印刷日時(SYSTEMTIME)へのポインタを指定する。
vtbl 28 HRESULT GetModified(SYSTEMTIME* modified)
modifiedSYSTEMTIME*out最終更新日時(SYSTEMTIME)を受け取る。
vtbl 29 HRESULT SetModified(SYSTEMTIME* modified)
modifiedSYSTEMTIME*in設定する最終更新日時(SYSTEMTIME)へのポインタを指定する。
vtbl 30 HRESULT GetRevision(LPWSTR* revision)
revisionLPWSTR*outドキュメントのリビジョン文字列を受け取る。
vtbl 31 HRESULT SetRevision(LPWSTR revision)
revisionLPWSTRin設定するリビジョン文字列を指定する。
vtbl 32 HRESULT GetSubject(LPWSTR* subject)
subjectLPWSTR*outドキュメントの件名文字列を受け取る。
vtbl 33 HRESULT SetSubject(LPWSTR subject)
subjectLPWSTRin設定する件名文字列を指定する。
vtbl 34 HRESULT GetTitle(LPWSTR* title)
titleLPWSTR*outドキュメントのタイトル文字列を受け取る。
vtbl 35 HRESULT SetTitle(LPWSTR title)
titleLPWSTRin設定するタイトル文字列を指定する。
vtbl 36 HRESULT GetVersion(LPWSTR* version)
versionLPWSTR*outドキュメントのバージョン文字列を受け取る。
vtbl 37 HRESULT SetVersion(LPWSTR version)
versionLPWSTRin設定するバージョン文字列を指定する。
vtbl 38 HRESULT Clone(IXpsOMCoreProperties** coreProperties)
corePropertiesIXpsOMCoreProperties**out複製された新しいコアプロパティへのポインタを受け取る。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IXpsOMCoreProperties "{3340FE8F-4027-4AA1-8F5F-D35AE45FE597}"
#usecom global IXpsOMCoreProperties IID_IXpsOMCoreProperties "{}"
#comfunc global IXpsOMCoreProperties_GetOwner           5 sptr
#comfunc global IXpsOMCoreProperties_GetCategory        6 var
#comfunc global IXpsOMCoreProperties_SetCategory        7 wstr
#comfunc global IXpsOMCoreProperties_GetContentStatus   8 var
#comfunc global IXpsOMCoreProperties_SetContentStatus   9 wstr
#comfunc global IXpsOMCoreProperties_GetContentType     10 var
#comfunc global IXpsOMCoreProperties_SetContentType     11 wstr
#comfunc global IXpsOMCoreProperties_GetCreated         12 var
#comfunc global IXpsOMCoreProperties_SetCreated         13 var
#comfunc global IXpsOMCoreProperties_GetCreator         14 var
#comfunc global IXpsOMCoreProperties_SetCreator         15 wstr
#comfunc global IXpsOMCoreProperties_GetDescription     16 var
#comfunc global IXpsOMCoreProperties_SetDescription     17 wstr
#comfunc global IXpsOMCoreProperties_GetIdentifier      18 var
#comfunc global IXpsOMCoreProperties_SetIdentifier      19 wstr
#comfunc global IXpsOMCoreProperties_GetKeywords        20 var
#comfunc global IXpsOMCoreProperties_SetKeywords        21 wstr
#comfunc global IXpsOMCoreProperties_GetLanguage        22 var
#comfunc global IXpsOMCoreProperties_SetLanguage        23 wstr
#comfunc global IXpsOMCoreProperties_GetLastModifiedBy  24 var
#comfunc global IXpsOMCoreProperties_SetLastModifiedBy  25 wstr
#comfunc global IXpsOMCoreProperties_GetLastPrinted     26 var
#comfunc global IXpsOMCoreProperties_SetLastPrinted     27 var
#comfunc global IXpsOMCoreProperties_GetModified        28 var
#comfunc global IXpsOMCoreProperties_SetModified        29 var
#comfunc global IXpsOMCoreProperties_GetRevision        30 var
#comfunc global IXpsOMCoreProperties_SetRevision        31 wstr
#comfunc global IXpsOMCoreProperties_GetSubject         32 var
#comfunc global IXpsOMCoreProperties_SetSubject         33 wstr
#comfunc global IXpsOMCoreProperties_GetTitle           34 var
#comfunc global IXpsOMCoreProperties_SetTitle           35 wstr
#comfunc global IXpsOMCoreProperties_GetVersion         36 var
#comfunc global IXpsOMCoreProperties_SetVersion         37 wstr
#comfunc global IXpsOMCoreProperties_Clone              38 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。