Use W32API.

svn path=/trunk/; revision=15952
This commit is contained in:
Filip Navara 2005-06-17 08:05:58 +00:00
parent 63ac2d0f1f
commit 05061cedaa
3 changed files with 21 additions and 17 deletions

View file

@ -109,29 +109,31 @@ typedef struct _SM_PORT_MESSAGE_QRYINFO
/*** | ****************************************************************/
typedef struct _SM_PORT_MESSAGE
typedef union _SM_PORT_MESSAGE
{
/*** LPC common header ***/
LPC_MESSAGE Header;
/*** SM common header ***/
struct {
DWORD ApiIndex;
NTSTATUS Status;
} SmHeader;
/*** SM per API arguments ***/
union {
UCHAR LpcHeader[LPC_MESSAGE_BASE_SIZE];
/*** SM common header ***/
struct {
DWORD ApiIndex;
NTSTATUS Status;
} SmHeader;
/*** SM per API arguments ***/
union {
SM_PORT_MESSAGE_COMPSES CompSes;
SM_PORT_MESSAGE_EXECPGM ExecPgm;
SM_PORT_MESSAGE_QRYINFO QryInfo;
} Request;
union {
SM_PORT_MESSAGE_COMPSES CompSes;
SM_PORT_MESSAGE_EXECPGM ExecPgm;
SM_PORT_MESSAGE_QRYINFO QryInfo;
} Reply;
union {
SM_PORT_MESSAGE_COMPSES CompSes;
SM_PORT_MESSAGE_EXECPGM ExecPgm;
SM_PORT_MESSAGE_QRYINFO QryInfo;
} Request;
union {
SM_PORT_MESSAGE_COMPSES CompSes;
SM_PORT_MESSAGE_EXECPGM ExecPgm;
SM_PORT_MESSAGE_QRYINFO QryInfo;
} Reply;
};
};
} SM_PORT_MESSAGE, * PSM_PORT_MESSAGE;
#pragma pack(pop)

View file

@ -1,6 +1,7 @@
<module name="smdll" type="nativedll" baseaddress="${BASEADDRESS_SMDLL}" installbase="system32" installname="smdll.dll">
<importlibrary definition="smdll.def" />
<include base="smdll">.</include>
<define name="__USE_W32API" />
<define name="_DISABLE_TIDENTS" />
<library>smlib</library>
<library>ntdll</library>

View file

@ -1,5 +1,6 @@
<module name="smlib" type="staticlibrary">
<include base="smlib">.</include>
<define name="__USE_W32API" />
<define name="_DISABLE_TIDENTS" />
<file>connect.c</file>
<file>execpgm.c</file>