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
6db64236
Commit
6db64236
authored
Oct 07, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Use E_NOT_SUFFICIENT_BUFFER definition.
parent
9e697159
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
advpack.c
dlls/advpack/advpack.c
+4
-4
No files found.
dlls/advpack/advpack.c
View file @
6db64236
...
...
@@ -679,7 +679,7 @@ HRESULT WINAPI TranslateInfStringA(LPCSTR pszInfFilename, LPCSTR pszInstallSecti
dwBufferSize
,
NULL
,
NULL
);
}
else
res
=
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
;
res
=
E_NOT_SUFFICIENT_BUFFER
;
}
HeapFree
(
GetProcessHeap
(),
0
,
bufferW
);
...
...
@@ -739,7 +739,7 @@ HRESULT WINAPI TranslateInfStringW(LPCWSTR pszInfFilename, LPCWSTR pszInstallSec
pszBuffer
,
dwBufferSize
,
pdwRequiredSize
))
{
if
(
dwBufferSize
<
*
pdwRequiredSize
)
hret
=
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
;
hret
=
E_NOT_SUFFICIENT_BUFFER
;
else
hret
=
SPAPI_E_LINE_NOT_FOUND
;
}
...
...
@@ -796,7 +796,7 @@ HRESULT WINAPI TranslateInfStringExA(HINF hInf, LPCSTR pszInfFilename,
dwBufferSize
,
NULL
,
NULL
);
}
else
res
=
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
;
res
=
E_NOT_SUFFICIENT_BUFFER
;
}
HeapFree
(
GetProcessHeap
(),
0
,
bufferW
);
...
...
@@ -854,7 +854,7 @@ HRESULT WINAPI TranslateInfStringExW(HINF hInf, LPCWSTR pszInfFilename,
pszBuffer
,
dwBufferSize
,
pdwRequiredSize
))
{
if
(
dwBufferSize
<
*
pdwRequiredSize
)
return
HRESULT_FROM_WIN32
(
ERROR_INSUFFICIENT_BUFFER
)
;
return
E_NOT_SUFFICIENT_BUFFER
;
return
SPAPI_E_LINE_NOT_FOUND
;
}
...
...
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