Share via


ISoftDistExt::GetFirstCodeBase method

[GetFirstCodeBase may be altered or unavailable in subsequent versions of the operating system or product.]

Returns the first codebase URL from the specified software distribution unit.

Syntax

HRESULT GetFirstCodeBase(
  [in] LPWSTR  *szCodeBase,
  [in] LPDWORD dwMaxSize
);

Parameters

  • szCodeBase [in]
    The codebase URL as a string.

  • dwMaxSize [in]
    The max string length.

Return value

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

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 3.0

DLL

Urlmon.dll

See also

ISoftDistExt