serverInformation 结构 (combaseapi.h)

表示组件对象模型 (COM) 接口在服务器进程中的实现。

语法

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

成员

dwServerPid

服务器的进程 ID。

dwServerTid

服务器对象的线程 ID(如果位于 STA 中),如果它在 MTA 中,则为 0;如果它位于 NA 中,则 为 0x0000FFFF

ui64ServerAddress

ui64ServerAddress 被视为 64 位值类型,而不是指向 64 位值的指针,并且不是指向调试器进程中对象的指针。 相反,此地址将传递给 ReadProcessMemory 函数。

注解

CoDecodeProxy 函数使用 ServerInformation 结构,使本机调试器能够在服务器进程中定位 COM 接口的实现,给定Windows 运行时 对象的代理上的Windows 运行时接口。

要求

要求
Header combaseapi.h

另请参阅

CoDecodeProxy