mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
SM_ missing updated headers
svn path=/trunk/; revision=13689
This commit is contained in:
parent
49c033c5fa
commit
9eb2145d0e
2 changed files with 28 additions and 28 deletions
|
@ -8,6 +8,29 @@
|
|||
|
||||
#pragma pack(push,4)
|
||||
|
||||
/*** DATA TYPES ******************************************************/
|
||||
|
||||
#define SM_SB_NAME_MAX_LENGTH 120
|
||||
|
||||
#pragma pack(push,4)
|
||||
|
||||
/* SmConnectApiPort */
|
||||
typedef struct _SM_CONNECT_DATA
|
||||
{
|
||||
ULONG Subsystem;
|
||||
WCHAR SbName [SM_SB_NAME_MAX_LENGTH];
|
||||
|
||||
} SM_CONNECT_DATA, *PSM_CONNECT_DATA;
|
||||
|
||||
/* SmpConnectSbApiPort */
|
||||
typedef struct _SB_CONNECT_DATA
|
||||
{
|
||||
ULONG SmApiMax;
|
||||
} SB_CONNECT_DATA, *PSB_CONNECT_DATA;
|
||||
|
||||
|
||||
/*** SM API ***/
|
||||
|
||||
/*** 1 ****************************************************************/
|
||||
|
||||
#define SM_API_COMPLETE_SESSION 1 /* complete a session initialization */
|
||||
|
@ -65,8 +88,9 @@ typedef struct _SM_PORT_MESSAGE
|
|||
|
||||
/*** MACRO ***********************************************************/
|
||||
|
||||
#define SM_PORT_DATA_SIZE(c) (sizeof(DWORD)+sizeof(NTSTATUS)+sizeof(c))
|
||||
#define SM_PORT_MESSAGE_SIZE (sizeof(SM_PORT_MESSAGE))
|
||||
#define SM_CONNECT_DATA_SIZE(m) ((m).Header.DataSize-sizeof(ULONG))
|
||||
#define SM_PORT_DATA_SIZE(c) (sizeof(DWORD)+sizeof(NTSTATUS)+sizeof(c))
|
||||
#define SM_PORT_MESSAGE_SIZE (sizeof(SM_PORT_MESSAGE))
|
||||
|
||||
|
||||
#endif /* !def __SM_API_H */
|
||||
|
|
|
@ -1,31 +1,7 @@
|
|||
#ifndef INCLUDE_SM_HELPER_H
|
||||
#define INCLUDE_SM_HELPER_H
|
||||
|
||||
/*** DATA TYPES ******************************************************/
|
||||
|
||||
#define SM_SB_NAME_MAX_LENGTH 120
|
||||
|
||||
#pragma pack(push,4)
|
||||
|
||||
/* SmConnectApiPort */
|
||||
typedef struct _SM_CONNECT_DATA
|
||||
{
|
||||
ULONG Subsystem;
|
||||
WCHAR SbName [SM_SB_NAME_MAX_LENGTH];
|
||||
|
||||
} SM_CONNECT_DATA, *PSM_CONNECT_DATA;
|
||||
|
||||
/* SmpConnectSbApiPort */
|
||||
typedef struct _SB_CONNECT_DATA
|
||||
{
|
||||
ULONG SmApiMax;
|
||||
} SB_CONNECT_DATA, *PSB_CONNECT_DATA;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
|
||||
/*** PROTOTYPES ******************************************************/
|
||||
|
||||
#define _SM_HELPER_H
|
||||
/* $Id$ */
|
||||
|
||||
/* smdll/connect.c */
|
||||
NTSTATUS STDCALL
|
||||
|
|
Loading…
Reference in a new issue