IPrinting3DManagerInterop::ShowPrintUIForWindowAsync method (print3dmanagerinterop.h)

Programmatically initiates the 3D printing user interface.

Syntax

HRESULT ShowPrintUIForWindowAsync(
  HWND   appWindow,
  REFIID riid,
  void   **asyncOperation
);

Parameters

appWindow

Handle to the window of the active application.

riid

The GUID for the resource interface.

The REFIID, or GUID, of the interface to the resource can be obtained by using the __uuidof() macro. For example:

__uuidof(IAsyncAction)

asyncOperation

Address of a pointer to a IAsyncAction object that returns void upon completion.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header print3dmanagerinterop.h