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

oldstable
Francois Gouget 2007-09-01 02:45:48 +02:00 committed by Alexandre Julliard
parent b306d15084
commit ec6e307b92
2 changed files with 11 additions and 2 deletions

View File

@ -273,7 +273,7 @@ LONG WINAPI DBToAmpFactor(LONG db)
/***********************************************************************
* AMGetErrorTextA (QUARTZ.@)
*/
DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen)
DWORD WINAPI AMGetErrorTextA(HRESULT hr, LPSTR buffer, DWORD maxlen)
{
int len;
static const char format[] = "Error: 0x%x";
@ -291,7 +291,7 @@ DWORD WINAPI AMGetErrorTextA(HRESULT hr, char *buffer, DWORD maxlen)
/***********************************************************************
* AMGetErrorTextW (QUARTZ.@)
*/
DWORD WINAPI AMGetErrorTextW(HRESULT hr, WCHAR *buffer, DWORD maxlen)
DWORD WINAPI AMGetErrorTextW(HRESULT hr, LPWSTR buffer, DWORD maxlen)
{
int len;
static const WCHAR format[] = {'E','r','r','o','r',':',' ','0','x','%','l','x',0};

View File

@ -4087,6 +4087,7 @@ REFIID
%long
DWORD
HRESULT
LONG
@ -4096,6 +4097,14 @@ LPVOID *
REFCLSID
REFIID
%str
LPSTR
%wstr
LPWSTR
%%query.dll
%long