/usr/x86_64-w64-mingw32/include/rasshost.h is in mingw-w64-x86-64-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _RASSHOST_
#define _RASSHOST_
#include <mprapi.h>
typedef DWORD HPORT;
typedef struct _SECURITY_MESSAGE {
DWORD dwMsgId;
HPORT hPort;
DWORD dwError;
CHAR UserName[UNLEN+1];
CHAR Domain[DNLEN+1];
} SECURITY_MESSAGE,*PSECURITY_MESSAGE;
#define SECURITYMSG_SUCCESS 1
#define SECURITYMSG_FAILURE 2
#define SECURITYMSG_ERROR 3
typedef struct _RAS_SECURITY_INFO {
DWORD LastError;
DWORD BytesReceived;
CHAR DeviceName[MAX_DEVICE_NAME+1];
} RAS_SECURITY_INFO,*PRAS_SECURITY_INFO;
typedef DWORD (WINAPI *RASSECURITYPROC)();
VOID WINAPI RasSecurityDialogComplete(SECURITY_MESSAGE *pSecMsg);
DWORD WINAPI RasSecurityDialogBegin(HPORT hPort,PBYTE pSendBuf,DWORD SendBufSize,PBYTE pRecvBuf,DWORD RecvBufSize,VOID (WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE *));
DWORD WINAPI RasSecurityDialogEnd(HPORT hPort);
DWORD WINAPI RasSecurityDialogSend(HPORT hPort,PBYTE pBuffer,WORD BufferLength);
DWORD WINAPI RasSecurityDialogReceive(HPORT hPort,PBYTE pBuffer,PWORD pBufferLength,DWORD Timeout,HANDLE hEvent);
DWORD WINAPI RasSecurityDialogGetInfo(HPORT hPort,RAS_SECURITY_INFO *pBuffer);
#endif
|