comparison fuhtark_test/include/winapi/lmat.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 _LMAT_
7 #define _LMAT_
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 #define JOB_RUN_PERIODICALLY 0x01
14 #define JOB_EXEC_ERROR 0x02
15 #define JOB_RUNS_TODAY 0x04
16 #define JOB_ADD_CURRENT_DATE 0x08
17 #define JOB_NONINTERACTIVE 0x10
18
19 #define JOB_INPUT_FLAGS (JOB_RUN_PERIODICALLY | JOB_ADD_CURRENT_DATE | JOB_NONINTERACTIVE)
20 #define JOB_OUTPUT_FLAGS (JOB_RUN_PERIODICALLY | JOB_EXEC_ERROR | JOB_RUNS_TODAY | JOB_NONINTERACTIVE)
21
22 typedef struct _AT_INFO {
23 DWORD_PTR JobTime;
24 DWORD DaysOfMonth;
25 UCHAR DaysOfWeek;
26 UCHAR Flags;
27 LPWSTR Command;
28 } AT_INFO,*PAT_INFO,*LPAT_INFO;
29
30 typedef struct _AT_ENUM {
31 DWORD JobId;
32 DWORD_PTR JobTime;
33 DWORD DaysOfMonth;
34 UCHAR DaysOfWeek;
35 UCHAR Flags;
36 LPWSTR Command;
37 } AT_ENUM,*PAT_ENUM,*LPAT_ENUM;
38
39 NET_API_STATUS WINAPI NetScheduleJobAdd(LPCWSTR Servername,LPBYTE Buffer,LPDWORD JobId);
40 NET_API_STATUS WINAPI NetScheduleJobDel(LPCWSTR Servername,DWORD MinJobId,DWORD MaxJobId);
41 NET_API_STATUS WINAPI NetScheduleJobEnum(LPCWSTR Servername,LPBYTE *PointerToBuffer,DWORD PrefferedMaximumLength,LPDWORD EntriesRead,LPDWORD TotalEntries,LPDWORD ResumeHandle);
42 NET_API_STATUS WINAPI NetScheduleJobGetInfo(LPCWSTR Servername,DWORD JobId,LPBYTE *PointerToBuffer);
43
44 #ifdef __cplusplus
45 }
46 #endif
47 #endif