HFILE is an int, not a regular HANDLE.

This commit is contained in:
Francois Gouget 2000-10-13 23:11:05 +00:00 committed by Alexandre Julliard
parent 855ac7a8f7
commit 50bcd1a8e3
3 changed files with 3 additions and 9 deletions

View File

@ -2720,7 +2720,7 @@ BOOL WINAPI CommConfigDialogW(
* If successful, lpCommConfig contains the comm port configuration.
*/
BOOL WINAPI GetCommConfig(
HFILE hFile,
HANDLE hFile,
LPCOMMCONFIG lpCommConfig
) {
BOOL r;
@ -2746,7 +2746,7 @@ BOOL WINAPI GetCommConfig(
*
*/
BOOL WINAPI SetCommConfig(
HFILE hFile,
HANDLE hFile,
LPCOMMCONFIG lpCommConfig
) {
BOOL r;

View File

@ -17,12 +17,6 @@
#include "winbase.h"
#include "debugtools.h"
#ifndef _WINDOWS
#define _WINDOWS
#endif
typedef char* GUID; /* This definition is in sqltypes.h, but if _WINDOWS is defined, this is skipped. */
#include "sql.h"
#include "sqltypes.h"
#include "sqlext.h"

View File

@ -274,7 +274,7 @@ DECLARE_HANDLE(HDROP);
DECLARE_HANDLE(HDRVR);
DECLARE_HANDLE(HDWP);
DECLARE_HANDLE(HENHMETAFILE);
DECLARE_HANDLE(HFILE);
typedef int HFILE;
DECLARE_HANDLE(HFONT);
DECLARE_HANDLE(HICON);
DECLARE_HANDLE(HINSTANCE);