1 #ifndef _SRMP_ 2 #define _SRMP_ 3 4 typedef enum _RM_API_NUMBER 5 { 6 RmAuditSetCommand = 1, 7 RmCreateLogonSession = 2, 8 RmDeleteLogonSession = 3 9 } RM_API_NUMBER; 10 11 typedef struct _SEP_RM_API_MESSAGE 12 { 13 PORT_MESSAGE Header; 14 ULONG ApiNumber; 15 union 16 { 17 UCHAR Fill[PORT_MAXIMUM_MESSAGE_LENGTH - sizeof(PORT_MESSAGE)]; 18 NTSTATUS ResultStatus; 19 struct 20 { 21 BOOLEAN Enabled; 22 ULONG Flags[9]; 23 } SetAuditEvent; 24 LUID LogonLuid; 25 } u; 26 } SEP_RM_API_MESSAGE, *PSEP_RM_API_MESSAGE; 27 28 29 typedef enum _LSAP_API_NUMBER 30 { 31 LsapAdtWriteLogApi = 1, 32 LsapComponentTestApi, 33 LsapAsyncApi 34 } LSAP_API_NUMBER; 35 36 typedef struct _LSAP_RM_API_MESSAGE 37 { 38 PORT_MESSAGE Header; 39 ULONG ApiNumber; 40 union 41 { 42 UCHAR Fill[PORT_MAXIMUM_MESSAGE_LENGTH - sizeof(PORT_MESSAGE)]; 43 struct 44 { 45 ULONG Info1; 46 } WriteLog; 47 48 } u; 49 } LSAP_RM_API_MESSAGE, *PLSAP_RM_API_MESSAGE; 50 51 #endif /* _SRMP_ */ 52