comparison fuhtark_test/include/winapi/rasshost.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
comparison
equal deleted inserted replaced
1499:1f58458b7ef7 1500:91c8c3b7cbf0
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef _RASSHOST_
7 #define _RASSHOST_
8
9 #include <mprapi.h>
10
11 typedef DWORD HPORT;
12
13 typedef struct _SECURITY_MESSAGE {
14 DWORD dwMsgId;
15 HPORT hPort;
16 DWORD dwError;
17 CHAR UserName[UNLEN+1];
18 CHAR Domain[DNLEN+1];
19 } SECURITY_MESSAGE,*PSECURITY_MESSAGE;
20
21 #define SECURITYMSG_SUCCESS 1
22 #define SECURITYMSG_FAILURE 2
23 #define SECURITYMSG_ERROR 3
24
25 typedef struct _RAS_SECURITY_INFO {
26 DWORD LastError;
27 DWORD BytesReceived;
28 CHAR DeviceName[MAX_DEVICE_NAME+1];
29 } RAS_SECURITY_INFO,*PRAS_SECURITY_INFO;
30
31 typedef DWORD (WINAPI *RASSECURITYPROC)();
32
33 VOID WINAPI RasSecurityDialogComplete(SECURITY_MESSAGE *pSecMsg);
34 DWORD WINAPI RasSecurityDialogBegin(HPORT hPort,PBYTE pSendBuf,DWORD SendBufSize,PBYTE pRecvBuf,DWORD RecvBufSize,VOID (WINAPI *RasSecurityDialogComplete)(SECURITY_MESSAGE *));
35 DWORD WINAPI RasSecurityDialogEnd(HPORT hPort);
36 DWORD WINAPI RasSecurityDialogSend(HPORT hPort,PBYTE pBuffer,WORD BufferLength);
37 DWORD WINAPI RasSecurityDialogReceive(HPORT hPort,PBYTE pBuffer,PWORD pBufferLength,DWORD Timeout,HANDLE hEvent);
38 DWORD WINAPI RasSecurityDialogGetInfo(HPORT hPort,RAS_SECURITY_INFO *pBuffer);
39
40 #endif