Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
06845036
Commit
06845036
authored
Aug 07, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
Aug 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added documentation for CreateUri and CreateUriWithFragment.
parent
6e4ead77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
uri.c
dlls/urlmon/uri.c
+37
-0
No files found.
dlls/urlmon/uri.c
View file @
06845036
...
...
@@ -3867,6 +3867,27 @@ static const IUriVtbl UriVtbl = {
/***********************************************************************
* CreateUri (urlmon.@)
*
* Creates a new IUri object using the URI represented by pwzURI. This function
* parses and validates the components of pwzURI and then canonicalizes the
* parsed components.
*
* PARAMS
* pwzURI [I] The URI to parse, validate, and canonicalize.
* dwFlags [I] Flags which can affect how the parsing/canonicalization is performed.
* dwReserved [I] Reserved (not used).
* ppURI [O] The resulting IUri after parsing/canonicalization occurs.
*
* RETURNS
* Success: Returns S_OK. ppURI contains the pointer to the newly allocated IUri.
* Failure: E_INVALIDARG if there's invalid flag combinations in dwFlags, or an
* invalid parameters, or pwzURI doesn't represnt a valid URI.
* E_OUTOFMEMORY if any memory allocation fails.
*
* NOTES
* Default flags:
* Uri_CREATE_CANONICALIZE, Uri_CREATE_DECODE_EXTRA_INFO, Uri_CREATE_CRACK_UNKNOWN_SCHEMES,
* Uri_CREATE_PRE_PROCESS_HTML_URI, Uri_CREATE_NO_IE_SETTINGS.
*/
HRESULT
WINAPI
CreateUri
(
LPCWSTR
pwzURI
,
DWORD
dwFlags
,
DWORD_PTR
dwReserved
,
IUri
**
ppURI
)
{
...
...
@@ -3948,6 +3969,22 @@ HRESULT WINAPI CreateUri(LPCWSTR pwzURI, DWORD dwFlags, DWORD_PTR dwReserved, IU
/***********************************************************************
* CreateUriWithFragment (urlmon.@)
*
* Creates a new IUri object. This is almost the same as CreateUri, expect that
* it allows you to explicitly specify a fragment (pwzFragment) for pwzURI.
*
* PARAMS
* pwzURI [I] The URI to parse and perform canonicalization on.
* pwzFragment [I] The explict fragment string which should be added to pwzURI.
* dwFlags [I] The flags which will be passed to CreateUri.
* dwReserved [I] Reserved (not used).
* ppURI [O] The resulting IUri after parsing/canonicalization.
*
* RETURNS
* Success: S_OK. ppURI contains the pointer to the newly allocated IUri.
* Failure: E_INVALIDARG if pwzURI already contains a fragment and pwzFragment
* isn't NULL. Will also return E_INVALIDARG for the same reasons as
* CreateUri will. E_OUTOFMEMORY if any allocations fail.
*/
HRESULT
WINAPI
CreateUriWithFragment
(
LPCWSTR
pwzURI
,
LPCWSTR
pwzFragment
,
DWORD
dwFlags
,
DWORD_PTR
dwReserved
,
IUri
**
ppURI
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment