IXblIdpAuthManager
COM公式ドキュメント
Microsoft 用に予約されています。(IXblIdpAuthManager)
メソッド 6
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
Microsoft 用に予約されています。(IXblIdpAuthManager.SetGamerAccount)
| msaAccountId | LPWSTR | in | |
| xuid | LPWSTR | in |
戻り値
Microsoft 用に予約されています。(IXblIdpAuthManager.GetGamerAccount)
| msaAccountId | LPWSTR* | out | |
| xuid | LPWSTR* | out |
戻り値
Microsoft 用に予約されています。(IXblIdpAuthManager.SetAppViewInitialized)
| appSid | LPWSTR | in | |
| msaAccountId | LPWSTR | in |
戻り値
Microsoft 用に予約されています。(IXblIdpAuthManager.GetEnvironment)
| environment | LPWSTR* | out |
戻り値
Microsoft 用に予約されています。(IXblIdpAuthManager.GetSandbox)
| sandbox | LPWSTR* | out |
戻り値
vtbl 8 HRESULT GetTokenAndSignatureWithTokenResult(LPWSTR msaAccountId, LPWSTR appSid, LPWSTR msaTarget, LPWSTR msaPolicy, LPWSTR httpMethod, LPWSTR uri, LPWSTR headers, BYTE* body, DWORD bodySize, BOOL forceRefresh, IXblIdpAuthTokenResult** result)
Microsoft 用に予約されています。(IXblIdpAuthManager.GetTokenAndSignatureWithTokenResult)
| msaAccountId | LPWSTR | in | |
| appSid | LPWSTR | in | |
| msaTarget | LPWSTR | in | |
| msaPolicy | LPWSTR | in | |
| httpMethod | LPWSTR | in | |
| uri | LPWSTR | in | |
| headers | LPWSTR | in | |
| body | BYTE* | in | |
| bodySize | DWORD | in | |
| forceRefresh | BOOL | in | |
| result | IXblIdpAuthTokenResult** | out |
戻り値
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IXblIdpAuthManager "{EB5DDB08-8BBF-449B-AC21-B02DDEB3B136}" #usecom global IXblIdpAuthManager IID_IXblIdpAuthManager "{CE23534B-56D8-4978-86A2-7EE570640468}" #comfunc global IXblIdpAuthManager_SetGamerAccount 3 wstr,wstr #comfunc global IXblIdpAuthManager_GetGamerAccount 4 var,var #comfunc global IXblIdpAuthManager_SetAppViewInitialized 5 wstr,wstr #comfunc global IXblIdpAuthManager_GetEnvironment 6 var #comfunc global IXblIdpAuthManager_GetSandbox 7 var #comfunc global IXblIdpAuthManager_GetTokenAndSignatureWithTokenResult 8 wstr,wstr,wstr,wstr,wstr,wstr,wstr,var,int,int,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IXblIdpAuthManager "{EB5DDB08-8BBF-449B-AC21-B02DDEB3B136}" #usecom global IXblIdpAuthManager IID_IXblIdpAuthManager "{CE23534B-56D8-4978-86A2-7EE570640468}" #comfunc global IXblIdpAuthManager_SetGamerAccount 3 wstr,wstr #comfunc global IXblIdpAuthManager_GetGamerAccount 4 sptr,sptr #comfunc global IXblIdpAuthManager_SetAppViewInitialized 5 wstr,wstr #comfunc global IXblIdpAuthManager_GetEnvironment 6 sptr #comfunc global IXblIdpAuthManager_GetSandbox 7 sptr #comfunc global IXblIdpAuthManager_GetTokenAndSignatureWithTokenResult 8 wstr,wstr,wstr,wstr,wstr,wstr,wstr,sptr,int,int,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。