Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Mayr
wine
Commits
fe455456
Commit
fe455456
authored
21 years ago
by
Jon Griffiths
Committed by
Alexandre Julliard
21 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Documentation updates.
parent
67d1c088
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dlls/ntdll/error.c
+9
-0
9 additions, 0 deletions
dlls/ntdll/error.c
dlls/shlwapi/clist.c
+18
-22
18 additions, 22 deletions
dlls/shlwapi/clist.c
dlls/shlwapi/istream.c
+1
-1
1 addition, 1 deletion
dlls/shlwapi/istream.c
dlls/shlwapi/wsprintf.c
+3
-3
3 additions, 3 deletions
dlls/shlwapi/wsprintf.c
with
31 additions
and
26 deletions
dlls/ntdll/error.c
+
9
−
0
View file @
fe455456
...
...
@@ -43,6 +43,15 @@ static const struct error_table error_table[20];
/**************************************************************************
* RtlNtStatusToDosError (NTDLL.@)
*
* Convert an NTSTATUS code to a Win32 error code.
*
* PARAMS
* status [I] Nt error code to map.
*
* RETURNS
* The mapped Win32 error code, or ERROR_MR_MID_NOT_FOUND if there is no
* mapping defined.
*/
ULONG
WINAPI
RtlNtStatusToDosError
(
NTSTATUS
status
)
{
...
...
This diff is collapsed.
Click to expand it.
dlls/shlwapi/clist.c
+
18
−
22
View file @
fe455456
/*
* SHLWAPI
Compact
List functions
* SHLWAPI
DataBlock
List functions
*
* Copyright 2002 Jon Griffiths
*
...
...
@@ -27,7 +27,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
shell
);
/*
Compact
list element (ordinals 17-22) */
/*
DataBlock
list element (ordinals 17-22) */
typedef
struct
tagSHLWAPI_CLIST
{
ULONG
ulSize
;
/* Size of this list element and its data */
...
...
@@ -45,7 +45,7 @@ HRESULT WINAPI SHAddDataBlock(LPSHLWAPI_CLIST*,LPCSHLWAPI_CLIST);
/*************************************************************************
* NextItem
*
* Internal helper: move a
clist
pointer to the next item.
* Internal helper: move a
DataBlock
pointer to the next item.
*/
inline
static
LPSHLWAPI_CLIST
NextItem
(
LPCSHLWAPI_CLIST
lpList
)
{
...
...
@@ -57,7 +57,7 @@ inline static LPSHLWAPI_CLIST NextItem(LPCSHLWAPI_CLIST lpList)
/*************************************************************************
* @ [SHLWAPI.17]
*
* Write a
compact
list to an IStream object.
* Write a
DataBlock
list to an IStream object.
*
* PARAMS
* lpStream [I] IStream object to write the list to
...
...
@@ -69,23 +69,19 @@ inline static LPSHLWAPI_CLIST NextItem(LPCSHLWAPI_CLIST lpList)
*
* NOTES
* Ordinals 17,18,19,20,21 and 22 are related and together provide a compact
* list structure which may be stored and retrieved from an IStream object.
* list structure (a "DataBlock List"), which may be stored and retrieved from
* an IStream object.
*
* The exposed API consists of:
*
* SHWriteDataBlockList - Write a compact list to a stream,
* - SHWriteDataBlockList() - Write a DataBlock list to a stream,
* - SHReadDataBlockList() - Read and create a list from a stream,
* - SHFreeDataBlockList() - Free a list,
* - SHAddDataBlock() - Insert a new item into a list,
* - SHRemoveDataBlock() - Remove an item from a list,
* - SHFindDataBlock() - Find an item in a list.
*
* SHReadDataBlockList - Read and create a list from a stream,
*
* SHFreeDataBlockList - Free a list,
*
* SHAddDataBlock - Insert a new item into a list,
*
* SHRemoveDataBlock - Remove an item from a list,
*
* SHFindDataBlock - Find an item in a list.
*
* The compact list is stored packed into a memory array. Each element has a
* The DataBlock list is stored packed into a memory array. Each element has a
* size and an associated ID. Elements must be less than 64k if the list is
* to be subsequently read from a stream.
*
...
...
@@ -137,7 +133,7 @@ HRESULT WINAPI SHWriteDataBlockList(IStream* lpStream, LPSHLWAPI_CLIST lpList)
/*************************************************************************
* @ [SHLWAPI.18]
*
* Read and create a
compact
list from an IStream object.
* Read and create a
DataBlock
list from an IStream object.
*
* PARAMS
* lpStream [I] Stream to read the list from
...
...
@@ -237,7 +233,7 @@ HRESULT WINAPI SHReadDataBlockList(IStream* lpStream, LPSHLWAPI_CLIST* lppList)
/*************************************************************************
* @ [SHLWAPI.19]
*
* Free a
compact
list.
* Free a
DataBlock
list.
*
* PARAMS
* lpList [I] List to free
...
...
@@ -259,7 +255,7 @@ VOID WINAPI SHFreeDataBlockList(LPSHLWAPI_CLIST lpList)
/*************************************************************************
* @ [SHLWAPI.20]
*
* Insert a new item into a
compact
list.
* Insert a new item into a
DataBlock
list.
*
* PARAMS
* lppList [0] Pointer to the List
...
...
@@ -354,7 +350,7 @@ HRESULT WINAPI SHAddDataBlock(LPSHLWAPI_CLIST* lppList, LPCSHLWAPI_CLIST lpNewIt
/*************************************************************************
* @ [SHLWAPI.21]
*
* Remove an item from a
compact
list.
* Remove an item from a
DataBlock
list.
*
* PARAMS
* lppList [O] List to remove the item from
...
...
@@ -424,7 +420,7 @@ BOOL WINAPI SHRemoveDataBlock(LPSHLWAPI_CLIST* lppList, ULONG ulId)
/*************************************************************************
* @ [SHLWAPI.22]
*
* Find an item in a
compact
list.
* Find an item in a
DataBlock
list.
*
* PARAMS
* lpList [I] List to search
...
...
This diff is collapsed.
Click to expand it.
dlls/shlwapi/istream.c
+
1
−
1
View file @
fe455456
...
...
@@ -482,7 +482,7 @@ HRESULT WINAPI SHCreateStreamOnFileW(LPCWSTR lpszPath, DWORD dwMode,
return
E_INVALIDARG
;
dwAttr
=
GetFileAttributesW
(
lpszPath
);
if
(
dwAttr
==
-
1u
)
if
(
dwAttr
==
INVALID_FILE_ATTRIBUTES
)
dwAttr
=
0
;
return
SHCreateStreamOnFileEx
(
lpszPath
,
dwMode
|
STGM_WRITE
,
dwAttr
,
...
...
This diff is collapsed.
Click to expand it.
dlls/shlwapi/wsprintf.c
+
3
−
3
View file @
fe455456
...
...
@@ -276,9 +276,9 @@ static UINT WPRINTF_GetLen( WPRINTF_FORMAT *format, WPRINTF_DATA *arg,
* Print formatted output to a string, up to a maximum number of chars.
*
* PARAMS
*
lpOut
[O] Destination for output string
*
cchLimitI
n [I] Maximum number of characters to write
*
lpFmt
[I] Format string
*
buffer
[O] Destination for output string
*
maxle
n [I] Maximum number of characters to write
*
spec
[I] Format string
*
* RETURNS
* Success: The number of characters written.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment