ICoreInputInterop2::ChangeHostingContext 方法 (corewindow.h)

语法

HRESULT ChangeHostingContext(
  HWND   newParentWindow,
  UINT32 newViewInstanceId
);

参数

newParentWindow

newViewInstanceId

要求

要求
Header corewindow.h