Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

msmqqp

import "github.com/TheManticoreProject/Manticore/windows/protocols/ms-mqqp"

Index

type PCTX\_REMOTEREAD\_HANDLE\_TYPE

PCTX_REMOTEREAD_HANDLE_TYPE is an RPC context handle: 20 bytes ([MS-RPCE] 2.3.2.2, [MS-MQQP]).

type PCTX_REMOTEREAD_HANDLE_TYPE [20]byte

type PCTX\_RRSESSION\_HANDLE\_TYPE

PCTX_RRSESSION_HANDLE_TYPE is an RPC context handle: 20 bytes ([MS-RPCE] 2.3.2.2, [MS-MQQP]).

type PCTX_RRSESSION_HANDLE_TYPE [20]byte

type REMOTEREADACK

REMOTEREADACK is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-MQQP]).

type REMOTEREADACK uint16
const (
    RR_UNKNOWN REMOTEREADACK = 0
    RR_NACK    REMOTEREADACK = 1
    RR_ACK     REMOTEREADACK = 2
)

type REMOTEREADDESC

REMOTEREADDESC ([MS-MQQP] 2.2.2.1) encapsulates the parameters of the RemoteQMStartReceive family of calls. dwSize (valid range 0..0x00420000) sizes the unique lpBuffer, which carries the UserMessage Packet; the client sends dwSize=0 and lpBuffer=NULL and the server fills them in. eAckNack is a reserved field. lpBuffer is a unique conformant-varying byte array whose conformance and length both come from dwSize.

type REMOTEREADDESC struct {
    HRemoteQueue ndr.DWORD
    HCursor      ndr.DWORD
    UlAction     ndr.DWORD
    UlTimeout    ndr.DWORD
    DwSize       ndr.DWORD
    DwQueue      ndr.DWORD
    DwRequestID  ndr.DWORD
    Reserved     ndr.DWORD
    DwArriveTime ndr.DWORD
    EAckNack     REMOTEREADACK `ndr:"enum"`
    LpBuffer     []uint8       `ndr:"unique,size_is=DwSize,varying,length_is=DwSize"`
}

type REMOTEREADDESC2

REMOTEREADDESC2 ([MS-MQQP] 2.2.2.3) extends the receive descriptor used by RemoteQMStartReceive2 and RemoteQMStartReceiveByLookupId: a unique pointer to a REMOTEREADDESC plus the 64-bit SequentialId of the message.

type REMOTEREADDESC2 struct {
    PRemoteReadDesc *REMOTEREADDESC `ndr:"unique"`
    SequentialId    uint64
}