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
899e4dae
Commit
899e4dae
authored
Jun 11, 2020
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prntvpt: Implement PTReleaseMemory.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
48ef66e9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
main.c
dlls/prntvpt/main.c
+6
-0
prntvpt.spec
dlls/prntvpt/prntvpt.spec
+1
-1
prntvpt.h
include/prntvpt.h
+1
-0
No files found.
dlls/prntvpt/main.c
View file @
899e4dae
...
@@ -51,6 +51,12 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
...
@@ -51,6 +51,12 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
return
TRUE
;
return
TRUE
;
}
}
HRESULT
WINAPI
PTReleaseMemory
(
PVOID
mem
)
{
heap_free
(
mem
);
return
S_OK
;
}
HRESULT
WINAPI
PTQuerySchemaVersionSupport
(
PCWSTR
printer
,
DWORD
*
version
)
HRESULT
WINAPI
PTQuerySchemaVersionSupport
(
PCWSTR
printer
,
DWORD
*
version
)
{
{
FIXME
(
"stub:%s %p
\n
"
,
debugstr_w
(
printer
),
version
);
FIXME
(
"stub:%s %p
\n
"
,
debugstr_w
(
printer
),
version
);
...
...
dlls/prntvpt/prntvpt.spec
View file @
899e4dae
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
@ stub PTMergeAndValidatePrintTicket
@ stub PTMergeAndValidatePrintTicket
@ stub PTConvertPrintTicketToDevMode
@ stub PTConvertPrintTicketToDevMode
@ stub PTConvertDevModeToPrintTicket
@ stub PTConvertDevModeToPrintTicket
@ st
ub PTReleaseMemory
@ st
dcall PTReleaseMemory(ptr)
@ stub ConvertDevModeToPrintTicketThunk2
@ stub ConvertDevModeToPrintTicketThunk2
@ stub ConvertDevModeToPrintTicketThunk
@ stub ConvertDevModeToPrintTicketThunk
@ stub ConvertPrintTicketToDevModeThunk2
@ stub ConvertPrintTicketToDevModeThunk2
...
...
include/prntvpt.h
View file @
899e4dae
...
@@ -28,6 +28,7 @@ DECLARE_HANDLE(HPTPROVIDER);
...
@@ -28,6 +28,7 @@ DECLARE_HANDLE(HPTPROVIDER);
HRESULT
WINAPI
PTOpenProvider
(
const
WCHAR
*
printer
,
DWORD
version
,
HPTPROVIDER
*
provider
);
HRESULT
WINAPI
PTOpenProvider
(
const
WCHAR
*
printer
,
DWORD
version
,
HPTPROVIDER
*
provider
);
HRESULT
WINAPI
PTOpenProviderEx
(
const
WCHAR
*
printer
,
DWORD
max_version
,
DWORD
pref_version
,
HPTPROVIDER
*
provider
,
DWORD
*
used_version
);
HRESULT
WINAPI
PTOpenProviderEx
(
const
WCHAR
*
printer
,
DWORD
max_version
,
DWORD
pref_version
,
HPTPROVIDER
*
provider
,
DWORD
*
used_version
);
HRESULT
WINAPI
PTCloseProvider
(
HPTPROVIDER
);
HRESULT
WINAPI
PTCloseProvider
(
HPTPROVIDER
);
HRESULT
WINAPI
PTReleaseMemory
(
PVOID
);
#ifdef __cplusplus
#ifdef __cplusplus
}
}
...
...
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