mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Use W32API.
svn path=/trunk/; revision=15952
This commit is contained in:
parent
63ac2d0f1f
commit
05061cedaa
3 changed files with 21 additions and 17 deletions
|
@ -109,29 +109,31 @@ typedef struct _SM_PORT_MESSAGE_QRYINFO
|
||||||
|
|
||||||
/*** | ****************************************************************/
|
/*** | ****************************************************************/
|
||||||
|
|
||||||
typedef struct _SM_PORT_MESSAGE
|
typedef union _SM_PORT_MESSAGE
|
||||||
{
|
{
|
||||||
/*** LPC common header ***/
|
/*** LPC common header ***/
|
||||||
LPC_MESSAGE Header;
|
LPC_MESSAGE Header;
|
||||||
/*** SM common header ***/
|
|
||||||
struct {
|
struct {
|
||||||
DWORD ApiIndex;
|
UCHAR LpcHeader[LPC_MESSAGE_BASE_SIZE];
|
||||||
NTSTATUS Status;
|
/*** SM common header ***/
|
||||||
} SmHeader;
|
struct {
|
||||||
/*** SM per API arguments ***/
|
DWORD ApiIndex;
|
||||||
union {
|
NTSTATUS Status;
|
||||||
|
} SmHeader;
|
||||||
|
/*** SM per API arguments ***/
|
||||||
union {
|
union {
|
||||||
SM_PORT_MESSAGE_COMPSES CompSes;
|
union {
|
||||||
SM_PORT_MESSAGE_EXECPGM ExecPgm;
|
SM_PORT_MESSAGE_COMPSES CompSes;
|
||||||
SM_PORT_MESSAGE_QRYINFO QryInfo;
|
SM_PORT_MESSAGE_EXECPGM ExecPgm;
|
||||||
} Request;
|
SM_PORT_MESSAGE_QRYINFO QryInfo;
|
||||||
union {
|
} Request;
|
||||||
SM_PORT_MESSAGE_COMPSES CompSes;
|
union {
|
||||||
SM_PORT_MESSAGE_EXECPGM ExecPgm;
|
SM_PORT_MESSAGE_COMPSES CompSes;
|
||||||
SM_PORT_MESSAGE_QRYINFO QryInfo;
|
SM_PORT_MESSAGE_EXECPGM ExecPgm;
|
||||||
} Reply;
|
SM_PORT_MESSAGE_QRYINFO QryInfo;
|
||||||
|
} Reply;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
} SM_PORT_MESSAGE, * PSM_PORT_MESSAGE;
|
} SM_PORT_MESSAGE, * PSM_PORT_MESSAGE;
|
||||||
|
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<module name="smdll" type="nativedll" baseaddress="${BASEADDRESS_SMDLL}" installbase="system32" installname="smdll.dll">
|
<module name="smdll" type="nativedll" baseaddress="${BASEADDRESS_SMDLL}" installbase="system32" installname="smdll.dll">
|
||||||
<importlibrary definition="smdll.def" />
|
<importlibrary definition="smdll.def" />
|
||||||
<include base="smdll">.</include>
|
<include base="smdll">.</include>
|
||||||
|
<define name="__USE_W32API" />
|
||||||
<define name="_DISABLE_TIDENTS" />
|
<define name="_DISABLE_TIDENTS" />
|
||||||
<library>smlib</library>
|
<library>smlib</library>
|
||||||
<library>ntdll</library>
|
<library>ntdll</library>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<module name="smlib" type="staticlibrary">
|
<module name="smlib" type="staticlibrary">
|
||||||
<include base="smlib">.</include>
|
<include base="smlib">.</include>
|
||||||
|
<define name="__USE_W32API" />
|
||||||
<define name="_DISABLE_TIDENTS" />
|
<define name="_DISABLE_TIDENTS" />
|
||||||
<file>connect.c</file>
|
<file>connect.c</file>
|
||||||
<file>execpgm.c</file>
|
<file>execpgm.c</file>
|
||||||
|
|
Loading…
Reference in a new issue