diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/newat.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to '')
-rw-r--r-- | public/sdk/inc/newat.h | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/public/sdk/inc/newat.h b/public/sdk/inc/newat.h new file mode 100644 index 000000000..5a399f6fe --- /dev/null +++ b/public/sdk/inc/newat.h @@ -0,0 +1,103 @@ +/*++ BUILD Version: 0006 // Increment this if a change has global effects + +Copyright (c) 1992 Microsoft Corporation + +Module Name: + + newat.h + +Abstract: + + This file contains structures, function prototypes, and definitions + for the new (cairo) schedule service API-s. + +Author: + + jim harriger (jimharr) 04 - february - 1994 + +Environment: + + User Mode - Win32 + Portable to any flat, 32-bit environment. (Uses Win32 typedefs.) + Requires ANSI C extensions: slash-slash comments, long external names. + +Notes: + + You must include NETCONS.H and LMAT.h before this file, since this + file depends on values defined in NETCONS.H. + +Revision History: + + Jim Harriger (jimharr) 13 may 93 + -- added NetSchedule(foo)Ex Routines, for Cairo + Jim Harriger (jimharr) 12 jul 94 + -- modified API structures for new multi-trigger functionality. +--*/ + +#ifndef _NEWAT_ +#define _NEWAT_ + +#ifdef __cplusplus +extern "C" { +#endif + + +// structures for new ..Ex API's + +typedef struct _AT_TRIGGER_POINT { + LARGE_INTEGER MinuteMask; + DWORD HourMask; + DWORD DaysOfMonth; + USHORT DaysOfWeek; +} AT_TRIGGER_POINT, *PAT_TRIGGER_POINT, *LPAT_TRIGGER_POINT; + +typedef struct _AT_INFO_EX { + GUID UserProxy; + LPWSTR Command; + USHORT Flags; + USHORT cTriggerPoints; + AT_TRIGGER_POINT *atpTriggerPoints; +} AT_INFO_EX, *PAT_INFO_EX, *LPAT_INFO_EX; + +typedef struct _AT_ENUM_EX { + GUID UserProxy; + LPWSTR Command; + DWORD JobId; + USHORT Flags; + USHORT cTriggerPoints; + AT_TRIGGER_POINT *atpTriggerPoints; +} AT_ENUM_EX, *PAT_ENUM_EX, *LPAT_ENUM_EX; + +// +// new API functions +// + +NET_API_STATUS NET_API_FUNCTION +NetScheduleJobAddEx( + IN LPWSTR Servername OPTIONAL, + IN LPBYTE Buffer, + OUT LPDWORD JobId + ); + +NET_API_STATUS NET_API_FUNCTION +NetScheduleJobEnumEx( + IN LPWSTR Servername OPTIONAL, + OUT LPBYTE * PointerToBuffer, + IN DWORD PrefferedMaximumLength, + OUT LPDWORD EntriesRead, + OUT LPDWORD TotalEntries, + IN OUT LPDWORD ResumeHandle + ); + +NET_API_STATUS NET_API_FUNCTION +NetScheduleJobGetInfoEx( + IN LPWSTR Servername OPTIONAL, + IN DWORD JobId, + OUT LPBYTE * PointerToBuffer + ); + +#ifdef __cplusplus +} +#endif + +#endif // _NEWAT_ |