ServerInformation 結構 (combaseapi.h)

表示伺服器進程中元件物件模型 (COM) 介面的實作。

語法

typedef struct tagServerInformation {
  DWORD  dwServerPid;
  DWORD  dwServerTid;
  UINT64 ui64ServerAddress;
} ServerInformation, *PServerInformation;

成員

dwServerPid

伺服器的進程識別碼。

dwServerTid

如果伺服器對象的線程標識碼位於 STA 中,則為 0,如果位於 MTA 中,則為 0,如果位於 NA 中, 則0x0000FFFF 。

ui64ServerAddress

ui64ServerAddress 被視為 64 位值類型,而不是 64 位值的指標,而且不是調試程式中物件的指標。 相反地,此位址會傳遞至 ReadProcessMemory 函式 。

備註

CoDecodeProxy 函式會使用 ServerInformation 結構,讓原生調試程式在伺服器進程中找出 COM 介面的實作,在 Proxy 上為 Windows 執行階段 物件指定 Windows 執行階段 介面。

規格需求

需求 值
標頭 combaseapi.h

另請參閱

CoDecodeProxy