dplayx: Map global memory anywhere if the standard address is unavailable.
[wine.git] / include / lmat.h
blob0fa574f41a24152db29b7a306763904c1c3e6a1c
1 /*
2 * Schedule Service Functions
4 * Copyright (C) 2011 Louis Lenders
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_LMAT_H
22 #define __WINE_LMAT_H
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 #define JOB_RUN_PERIODICALLY 0x01
29 #define JOB_EXEC_ERROR 0x02
30 #define JOB_RUNS_TODAY 0x04
31 #define JOB_ADD_CURRENT_DATE 0x08
32 #define JOB_NONINTERACTIVE 0x10
34 #define JOB_INPUT_FLAGS (JOB_RUN_PERIODICALLY | JOB_ADD_CURRENT_DATE | JOB_NONINTERACTIVE)
35 #define JOB_OUTPUT_FLAGS (JOB_RUN_PERIODICALLY | JOB_EXEC_ERROR | JOB_RUNS_TODAY | JOB_NONINTERACTIVE)
37 typedef struct _AT_INFO
39 DWORD_PTR JobTime;
40 DWORD DaysOfMonth;
41 UCHAR DaysOfWeek;
42 UCHAR Flags;
43 LPWSTR Command;
44 } AT_INFO, *PAT_INFO, *LPAT_INFO;
46 typedef struct _AT_ENUM
48 DWORD JobId;
49 DWORD_PTR JobTime;
50 DWORD DaysOfMonth;
51 UCHAR DaysOfWeek;
52 UCHAR Flags;
53 LPWSTR Command;
54 } AT_ENUM, *PAT_ENUM, *LPAT_ENUM;
56 NET_API_STATUS WINAPI NetScheduleJobAdd(LPCWSTR,LPBYTE,LPDWORD);
57 NET_API_STATUS WINAPI NetScheduleJobDel(LPCWSTR,DWORD,DWORD);
58 NET_API_STATUS WINAPI NetScheduleJobEnum(LPCWSTR,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
60 #ifdef __cplusplus
62 #endif
64 #endif /* __WINE_LMAT_H */