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

mscmpo

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

Index

type BIND\_INFO\_BLOB

BIND_INFO_BLOB ([MS-CMPO] 2.2.3.1): the fixed 8-byte payload carried in the rguchBlob byte arrays of Poke/BuildContext. grbitComProtocols is a COM_PROTOCOL bitmask of the RPC protocol sequences the caller supports.

type BIND_INFO_BLOB struct {
    DwcbThisStruct    ndr.DWORD
    GrbitComProtocols COM_PROTOCOL
}

type BIND\_VERSION\_SET

BIND_VERSION_SET ([MS-CMPO]). Generated by tools/idlgen; verify pointer/array tags.

type BIND_VERSION_SET struct {
    DwMinLevelOne   ndr.DWORD
    DwMaxLevelOne   ndr.DWORD
    DwMinLevelTwo   ndr.DWORD
    DwMaxLevelTwo   ndr.DWORD
    DwMinLevelThree ndr.DWORD
    DwMaxLevelThree ndr.DWORD
}

type BOUND\_VERSION\_SET

BOUND_VERSION_SET ([MS-CMPO]). Generated by tools/idlgen; verify pointer/array tags.

type BOUND_VERSION_SET struct {
    DwLevelOneAccepted   ndr.DWORD
    DwLevelTwoAccepted   ndr.DWORD
    DwLevelThreeAccepted ndr.DWORD
}

type COM\_PROTOCOL

COM_PROTOCOL is a scalar typedef ([MS-CMPO]).

type COM_PROTOCOL ndr.DWORD

type PCONTEXT\_HANDLE

PCONTEXT_HANDLE is the RPC context handle used by the IXnRemote methods ([MS-CMPO] 2.2.2; [C706]). The IDL declares it as [context_handle] void*; on the wire it is the 20-byte ndr_context_handle representation — a 4-byte attributes field followed by a 16-byte GUID ([MS-RPCE] 2.3.2.2) — transmitted by value, never as a referent pointer.

type PCONTEXT_HANDLE [20]byte

func (PCONTEXT_HANDLE) IsZero

func (h PCONTEXT_HANDLE) IsZero() bool

IsZero reports whether the handle is all zeros — for example, after the server tears a context down and returns the nulled handle.

type PPCONTEXT\_HANDLE

PPCONTEXT_HANDLE is a pointer to a PCONTEXT_HANDLE (the IDL PCONTEXT_HANDLE*), used for the [out]/[in,out] handle parameters of BuildContext, BuildContextW, and TearDownContext. Because a context handle is always transmitted as its 20-byte value, the extra indirection is a C-language artifact with no separate NDR referent, so it is modeled as the same value type.

type PPCONTEXT_HANDLE = PCONTEXT_HANDLE

type RESOURCE\_TYPE

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

type RESOURCE_TYPE uint16
const (
    RT_CONNECTIONS RESOURCE_TYPE = 0x00000000
)

type SESSION\_RANK

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

type SESSION_RANK uint16
const (
    SRANK_PRIMARY   SESSION_RANK = 0x00000001
    SRANK_SECONDARY SESSION_RANK = 0x00000002
)

type TEARDOWN\_TYPE

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

type TEARDOWN_TYPE uint16
const (
    TT_FORCE   TEARDOWN_TYPE = 0x00000000
    TT_PROBLEM TEARDOWN_TYPE = 0x00000002
)