diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fuhtark_test/include/winapi/lmat.h	Wed Nov 26 21:36:48 2025 +0700
@@ -0,0 +1,47 @@
+/**
+ * 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 within this package.
+ */
+#ifndef _LMAT_
+#define _LMAT_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define JOB_RUN_PERIODICALLY 0x01
+#define JOB_EXEC_ERROR 0x02
+#define JOB_RUNS_TODAY 0x04
+#define JOB_ADD_CURRENT_DATE 0x08
+#define JOB_NONINTERACTIVE 0x10
+
+#define JOB_INPUT_FLAGS (JOB_RUN_PERIODICALLY | JOB_ADD_CURRENT_DATE | JOB_NONINTERACTIVE)
+#define JOB_OUTPUT_FLAGS (JOB_RUN_PERIODICALLY | JOB_EXEC_ERROR | JOB_RUNS_TODAY | JOB_NONINTERACTIVE)
+
+  typedef struct _AT_INFO {
+    DWORD_PTR JobTime;
+    DWORD DaysOfMonth;
+    UCHAR DaysOfWeek;
+    UCHAR Flags;
+    LPWSTR Command;
+  } AT_INFO,*PAT_INFO,*LPAT_INFO;
+
+  typedef struct _AT_ENUM {
+    DWORD JobId;
+    DWORD_PTR JobTime;
+    DWORD DaysOfMonth;
+    UCHAR DaysOfWeek;
+    UCHAR Flags;
+    LPWSTR Command;
+  } AT_ENUM,*PAT_ENUM,*LPAT_ENUM;
+
+  NET_API_STATUS WINAPI NetScheduleJobAdd(LPCWSTR Servername,LPBYTE Buffer,LPDWORD JobId);
+  NET_API_STATUS WINAPI NetScheduleJobDel(LPCWSTR Servername,DWORD MinJobId,DWORD MaxJobId);
+  NET_API_STATUS WINAPI NetScheduleJobEnum(LPCWSTR Servername,LPBYTE *PointerToBuffer,DWORD PrefferedMaximumLength,LPDWORD EntriesRead,LPDWORD TotalEntries,LPDWORD ResumeHandle);
+  NET_API_STATUS WINAPI NetScheduleJobGetInfo(LPCWSTR Servername,DWORD JobId,LPBYTE *PointerToBuffer);
+
+#ifdef __cplusplus
+}
+#endif
+#endif