prntvpt: Implement PTReleaseMemory.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
48ef66e9e3
commit
899e4dae32
|
@ -51,6 +51,12 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
HRESULT WINAPI PTReleaseMemory(PVOID mem)
|
||||
{
|
||||
heap_free(mem);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
HRESULT WINAPI PTQuerySchemaVersionSupport(PCWSTR printer, DWORD *version)
|
||||
{
|
||||
FIXME("stub:%s %p\n", debugstr_w(printer), version);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
@ stub PTMergeAndValidatePrintTicket
|
||||
@ stub PTConvertPrintTicketToDevMode
|
||||
@ stub PTConvertDevModeToPrintTicket
|
||||
@ stub PTReleaseMemory
|
||||
@ stdcall PTReleaseMemory(ptr)
|
||||
@ stub ConvertDevModeToPrintTicketThunk2
|
||||
@ stub ConvertDevModeToPrintTicketThunk
|
||||
@ stub ConvertPrintTicketToDevModeThunk2
|
||||
|
|
|
@ -28,6 +28,7 @@ DECLARE_HANDLE(HPTPROVIDER);
|
|||
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 PTCloseProvider(HPTPROVIDER);
|
||||
HRESULT WINAPI PTReleaseMemory(PVOID);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue