mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Alex Ionescu: more details about the CSR core protocol.
svn path=/trunk/; revision=17256
This commit is contained in:
parent
a0dd7af2e4
commit
c04cc0cebf
1 changed files with 24 additions and 5 deletions
|
@ -5,14 +5,33 @@ typedef ULONG CSR_API_NUMBER;
|
||||||
|
|
||||||
#define MAKE_CSR_OPCODE(s,m) ((s) << 16) + (m)
|
#define MAKE_CSR_OPCODE(s,m) ((s) << 16) + (m)
|
||||||
|
|
||||||
// Gary Nebbett
|
//
|
||||||
|
// Shared CSR Message Header for all CSR Servers
|
||||||
|
// Gary Nebbett - Alex Ionescu
|
||||||
|
//
|
||||||
typedef struct _CSR_PORT_MESSAGE_HEADER
|
typedef struct _CSR_PORT_MESSAGE_HEADER
|
||||||
{
|
{
|
||||||
DWORD Unused1;
|
//
|
||||||
ULONG Opcode;
|
// LPC Header
|
||||||
ULONG Status;
|
//
|
||||||
ULONG Unused2;
|
PORT_MESSAGE PortHeader;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Buffer allocated with CsrAllocateCaptureBuffer.
|
||||||
|
// Sent as 2nd parameter to CsrClientCallServer.
|
||||||
|
//
|
||||||
|
PVOID CsrCaptureData;
|
||||||
|
|
||||||
|
//
|
||||||
|
// CSR API Message ID and Return Value
|
||||||
|
//
|
||||||
|
CSR_API_NUMBER Opcode;
|
||||||
|
ULONG Status;
|
||||||
|
ULONG Reserved;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Server-defined union of supported structures
|
||||||
|
//
|
||||||
} CSR_PORT_MESSAGE_HEADER, * PCSR_PORT_MESSAGE_HEADER;
|
} CSR_PORT_MESSAGE_HEADER, * PCSR_PORT_MESSAGE_HEADER;
|
||||||
|
|
||||||
#endif /* ndef __INCLUDE_CSR_LPCPROTO_H */
|
#endif /* ndef __INCLUDE_CSR_LPCPROTO_H */
|
||||||
|
|
Loading…
Reference in a new issue