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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
UrlIsOpaqueW (Unicode) and UrlIsOpaqueA (ANSI) |
See also