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

mspan

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

Index

type PNOTIFYOBJECT

PNOTIFYOBJECT is a notification-channel RPC context handle ([MS-PAN] 3.1.1): an [context_handle] void* carried on the wire as a 20-octet handle ([MS-RPCE] 2.3.2.2).

type PNOTIFYOBJECT [20]byte

type PRPCREMOTEOBJECT

PRPCREMOTEOBJECT is the remote-object RPC context handle ([MS-PAN] 2.2.4): an [context_handle] void* carried on the wire as a 20-octet handle ([MS-RPCE] 2.3.2.2). It is created by IRPCRemoteObject_Create and consumed by the IRPCAsyncNotify methods.

type PRPCREMOTEOBJECT [20]byte

type PrintAsyncNotificationType

PrintAsyncNotificationType is a notification type identifier ([MS-PAN] 2.2.1): a typedef of GUID in the IDL, so it is carried on the wire as a 16-octet GUID (Data1/Data2/Data3 + Data4[8], 4-octet aligned).

It is modeled on msdtyp.GUID rather than windows/guid.GUID because the latter’s trailing uint64 does not marshal to the required 16 octets under NDR.

type PrintAsyncNotificationType msdtyp.GUID

func (PrintAsyncNotificationType) GUID

func (t PrintAsyncNotificationType) GUID() guid.GUID

GUID returns the notification type as a windows/guid.GUID for display and comparison.

func (PrintAsyncNotificationType) String

func (t PrintAsyncNotificationType) String() string

String returns the canonical brace-less GUID string form of the notification type.

type PrintAsyncNotifyConversationStyle

PrintAsyncNotifyConversationStyle is a [v1_enum] NDR enum ([MS-PAN] 2.2.2), so it is transmitted as a 32-bit value ([C706] 14.3.6, MIDL v1_enum), not the 16-bit default.

type PrintAsyncNotifyConversationStyle uint32

The constants keep their IDL names ([MS-PAN] 2.2.2) but are exported so callers of the IRPCAsyncNotify stubs can name them across the package boundary.

const (
    KBiDirectional  PrintAsyncNotifyConversationStyle = 0
    KUniDirectional PrintAsyncNotifyConversationStyle = 1
)

type PrintAsyncNotifyUserFilter

PrintAsyncNotifyUserFilter is a [v1_enum] NDR enum ([MS-PAN] 2.2.3), so it is transmitted as a 32-bit value ([C706] 14.3.6, MIDL v1_enum), not the 16-bit default.

type PrintAsyncNotifyUserFilter uint32

The constants keep their IDL names ([MS-PAN] 2.2.3) but are exported so callers of the IRPCAsyncNotify stubs can name them across the package boundary.

const (
    KPerUser  PrintAsyncNotifyUserFilter = 0
    KAllUsers PrintAsyncNotifyUserFilter = 1
)