Export (0) Print
Expand All

UrlIsOpaque function

Returns whether a URL is opaque.

Syntax


BOOL UrlIsOpaque(
  _In_  PCTSTR pszURL
);

Parameters

pszURL [in]

Type: PCTSTR

A null-terminated string of maximum length INTERNET_MAX_URL_LENGTH that contains the URL.

Return value

Type: BOOL

Returns a nonzero value if the URL is opaque, or zero otherwise.

Remarks

A URL that has a scheme that is not followed by two slashes (//) is opaque. For example, mailto:xyz@litwareinc.com is an opaque URL. Opaque URLs cannot be separated into the standard URL hierarchy. UrlIsOpaque is equivalent to the following:

UrlIs(pszURL, URLIS_OPAQUE)

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 5.0 or later)

Unicode and ANSI names

UrlIsOpaqueW (Unicode) and UrlIsOpaqueA (ANSI)

See also

UrlIs

 

 

Community Additions

ADD
Show:
© 2014 Microsoft