Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2000-10-02 03:39:34 +00:00 committed by Alexandre Julliard
parent 1051c3fe13
commit bf8943c60c
3 changed files with 15 additions and 9 deletions

View File

@ -9,6 +9,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <sys/times.h> #include <sys/times.h>
#include "file.h" #include "file.h"
#include "ntddk.h"
#include "winerror.h" #include "winerror.h"
#include "debugtools.h" #include "debugtools.h"

View File

@ -450,7 +450,7 @@ error_exit:
* HIBYTE of LOWORD: status (SS_COMP or SS_FAILED_INIT) * HIBYTE of LOWORD: status (SS_COMP or SS_FAILED_INIT)
* LOBYTE of LOWORD: # of host adapters. * LOBYTE of LOWORD: # of host adapters.
*/ */
DWORD WINAPI GetASPI32SupportInfo() DWORD __cdecl GetASPI32SupportInfo(void)
{ {
return ((SS_COMP << 8) | ASPI_GetNumControllers()); return ((SS_COMP << 8) | ASPI_GetNumControllers());
} }
@ -536,8 +536,7 @@ DWORD __cdecl SendASPI32Command(LPSRB lpSRB)
/*********************************************************************** /***********************************************************************
* GetASPI32DLLVersion (WNASPI32.3) * GetASPI32DLLVersion (WNASPI32.3)
*/ */
DWORD __cdecl GetASPI32DLLVersion(void)
DWORD WINAPI GetASPI32DLLVersion()
{ {
#ifdef linux #ifdef linux
TRACE("Returning version 1\n"); TRACE("Returning version 1\n");
@ -548,18 +547,27 @@ DWORD WINAPI GetASPI32DLLVersion()
#endif #endif
} }
/***********************************************************************
* GetASPI32Buffer (WNASPI32.@)
*/
BOOL __cdecl GetASPI32Buffer(/*PASPI32BUFF*/LPVOID pab) BOOL __cdecl GetASPI32Buffer(/*PASPI32BUFF*/LPVOID pab)
{ {
FIXME("(%p), stub !\n", pab); FIXME("(%p), stub !\n", pab);
return TRUE; return TRUE;
} }
/***********************************************************************
* FreeASPI32Buffer (WNASPI32.@)
*/
BOOL __cdecl FreeASPI32Buffer(/*PASPI32BUFF*/LPVOID pab) BOOL __cdecl FreeASPI32Buffer(/*PASPI32BUFF*/LPVOID pab)
{ {
FIXME("(%p), stub !\n", pab); FIXME("(%p), stub !\n", pab);
return TRUE; return TRUE;
} }
/***********************************************************************
* TranslateASPI32Address (WNASPI32.@)
*/
BOOL __cdecl TranslateASPI32Address(LPDWORD pdwPath, LPDWORD pdwDEVNODE) BOOL __cdecl TranslateASPI32Address(LPDWORD pdwPath, LPDWORD pdwDEVNODE)
{ {
FIXME("(%p, %p), stub !\n", pdwPath, pdwDEVNODE); FIXME("(%p, %p), stub !\n", pdwPath, pdwDEVNODE);

View File

@ -203,12 +203,9 @@ typedef union tagSRB32 {
#include "poppack.h" #include "poppack.h"
/* Prototypes */ /* Prototypes */
extern DWORD __cdecl extern DWORD __cdecl SendASPI32Command (PSRB);
SendASPI32Command (PSRB); extern DWORD __cdecl GetASPI32SupportInfo (void);
extern DWORD WINAPI extern DWORD __cdecl GetASPI32DLLVersion(void);
GetASPI32SupportInfo (void);
extern DWORD WINAPI
GetASPI32DLLVersion(void);
#ifdef __cplusplus #ifdef __cplusplus
} }