Commit ec6e307b authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

quartz: Better match the PSDK types and fix the winapi_check warnings.

parent b306d150
...@@ -273,7 +273,7 @@ LONG WINAPI DBToAmpFactor(LONG db) ...@@ -273,7 +273,7 @@ LONG WINAPI DBToAmpFactor(LONG db)
/*********************************************************************** /***********************************************************************
* AMGetErrorTextA (QUARTZ.@) * AMGetErrorTextA (QUARTZ.@)
*/ */
DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen) DWORD WINAPI AMGetErrorTextA(HRESULT hr, LPSTR buffer, DWORD maxlen)
{ {
int len; int len;
static const char format[] = "Error: 0x%x"; static const char format[] = "Error: 0x%x";
...@@ -291,7 +291,7 @@ DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen) ...@@ -291,7 +291,7 @@ DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen)
/*********************************************************************** /***********************************************************************
* AMGetErrorTextW (QUARTZ.@) * AMGetErrorTextW (QUARTZ.@)
*/ */
DWORD WINAPI AMGetErrorTextW(HRESULT hr, WCHAR *buffer, DWORD maxlen) DWORD WINAPI AMGetErrorTextW(HRESULT hr, LPWSTR buffer, DWORD maxlen)
{ {
int len; int len;
static const WCHAR format[] = {'E','r','r','o','r',':',' ','0','x','%','l','x',0}; static const WCHAR format[] = {'E','r','r','o','r',':',' ','0','x','%','l','x',0};
......
...@@ -4087,6 +4087,7 @@ REFIID ...@@ -4087,6 +4087,7 @@ REFIID
%long %long
DWORD
HRESULT HRESULT
LONG LONG
...@@ -4096,6 +4097,14 @@ LPVOID * ...@@ -4096,6 +4097,14 @@ LPVOID *
REFCLSID REFCLSID
REFIID REFIID
%str
LPSTR
%wstr
LPWSTR
%%query.dll %%query.dll
%long %long
......
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