Alex Ionescu: more details about the CSR core protocol.

svn path=/trunk/; revision=17256
This commit is contained in:
Emanuele Aliberti 2005-08-10 09:09:28 +00:00
parent a0dd7af2e4
commit c04cc0cebf

View file

@ -5,14 +5,33 @@ typedef ULONG CSR_API_NUMBER;
#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
{
DWORD Unused1;
ULONG Opcode;
ULONG Status;
ULONG Unused2;
//
// LPC Header
//
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;
#endif /* ndef __INCLUDE_CSR_LPCPROTO_H */