AddConnectionOptionListEntries

The AddConnectionOptionListEntries function extends the list of media to use for connections. Added entries will be displayed and the wizard will jump to the specified page GUID when an entry is selected.

HRESULT WINAPI AddConnectionOptionListEntries(
  IXWizardSource* pIXWizardSource,
  XWIZARD_HOST_DISPLAY_TASK_INFO* paConnectionOptions,
  ULONG celt
);

Parameters

  • pIXWizardSource
    [in] Pointer to an object with IXWizardSource implemented on it that contains the Get Connected wizard configuration and properties.
  • paConnectionOptions
    [in] Pointer to an array of XWIZARD_HOST_DISPLAY_TASK_INFO structures to add to the connection options list in the Get Connected wizard.
  • celt
    [in] Specifies the number of XWIZARD_HOST_DISPLAY_TASK_INFO structures passed in paConnectionOptions.

Return Value

If the method succeeds the return value is S_OK.

If the method fails, the return value is one of the standard error codes.

Requirements

Client Requires Windows Vista.
DLL Requires Connect.dll on Windows Vista.