UrlMkGetSessionOptionUrlMkGetSessionOption*
*Contents  *Index  *Topic Contents
*Previous Topic: URLDownloadToFile
*Next Topic: UrlMkSetSessionOption

UrlMkGetSessionOption

WINOLEAPI UrlMkGetSessionOption(
    [in] DWORD dwOption,
    [in] LPVOID pBuffer,
    [in] DWORD dwBufferLength,
    [out] DWORD *pdwBufferLength,
    [in] DWORD dwReserved
);

Sets options for the current Internet session.

dwOption
Unsigned long integer value containing the session options to be retrieved. Currently, URL monikers support only the URLMON_OPTION_USERAGENT value, which retrieves the current user agent string.
pBuffer
Address of the buffer containing the new session settings.
dwBufferLength
Double-word value containing the size of pBuffer.
pdwBufferLength
Address of a double-word value containing the size of the data stored in the buffer or the size required to store the data if the buffer size was insufficient.
dwReserved
Reserved for future use. Must be set to zero.

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