Commit 899e4dae authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

prntvpt: Implement PTReleaseMemory.

parent 48ef66e9
...@@ -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);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
@ stub PTMergeAndValidatePrintTicket @ stub PTMergeAndValidatePrintTicket
@ stub PTConvertPrintTicketToDevMode @ stub PTConvertPrintTicketToDevMode
@ stub PTConvertDevModeToPrintTicket @ stub PTConvertDevModeToPrintTicket
@ stub PTReleaseMemory @ stdcall PTReleaseMemory(ptr)
@ stub ConvertDevModeToPrintTicketThunk2 @ stub ConvertDevModeToPrintTicketThunk2
@ stub ConvertDevModeToPrintTicketThunk @ stub ConvertDevModeToPrintTicketThunk
@ stub ConvertPrintTicketToDevModeThunk2 @ stub ConvertPrintTicketToDevModeThunk2
......
...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment