mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-23 09:54:39 +08:00
Add winapi-family check, correct HPORT type to be derived by HANDLE.
This commit is contained in:
parent
2f63f2631a
commit
24f6b8d72d
@ -1,14 +1,17 @@
|
||||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
#ifndef _RASSHOST_
|
||||
#define _RASSHOST_
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#include <mprapi.h>
|
||||
|
||||
typedef DWORD HPORT;
|
||||
typedef HANDLE HPORT;
|
||||
|
||||
typedef struct _SECURITY_MESSAGE {
|
||||
DWORD dwMsgId;
|
||||
@ -38,3 +41,4 @@ DWORD WINAPI RasSecurityDialogReceive(HPORT hPort,PBYTE pBuffer,PWORD pBufferLen
|
||||
DWORD WINAPI RasSecurityDialogGetInfo(HPORT hPort,RAS_SECURITY_INFO *pBuffer);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user