IUniformResourceLocator::SetURLIUniformResourceLocator::SetURL*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IUniformResourceLocator::InvokeCommand
*Next Topic: Internet Shortcut Global Functions

IUniformResourceLocator::SetURL

HRESULT SetURL(
    LPCSTR pcszURL,
    DWORD dwInFlags
);

Sets an object's URL.

pcszURL
Address of a zero-terminated string that contains the URL to set. The protocol scheme may be included as part of the URL.
dwInFlags
Flag value that specifies the behavior for setting the protocol scheme. This field can contain one of the following values:
IURL_SETURL_FL_GUESS_PROTOCOLIf the protocol scheme is not specified in pcszURL, the system automatically chooses a scheme and adds it to the URL.
IURL_SETURL_FL_USE_DEFAULT_PROTOCOLIf the protocol scheme is not specified in pcszURL, the system adds the default protocol scheme to the URL.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.