HFILE is an int, not a regular HANDLE.
This commit is contained in:
parent
855ac7a8f7
commit
50bcd1a8e3
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue