Documentation ¶
Index ¶
- Variables
- func ContextServerHandle(ctx context.Context, o ContextServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewContextServerHandle(o ContextServer) dcerpc.ServerHandle
- func RegisterContextServer(conn dcerpc.Conn, o ContextServer, opts ...dcerpc.Option)
- type ContextClient
- type ContextServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IWbemContext interface identifier 44aca674-e8fc-11d0-a07c-00c04fb68820 ContextIID = &dcom.IID{Data1: 0x44aca674, Data2: 0xe8fc, Data3: 0x11d0, Data4: []byte{0xa0, 0x7c, 0x00, 0xc0, 0x4f, 0xb6, 0x88, 0x20}} // Syntax UUID ContextSyntaxUUID = &uuid.UUID{TimeLow: 0x44aca674, TimeMid: 0xe8fc, TimeHiAndVersion: 0x11d0, ClockSeqHiAndReserved: 0xa0, ClockSeqLow: 0x7c, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xb6, 0x88, 0x20}} // Syntax ID ContextSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ContextSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/wmi"
)
Functions ¶
func ContextServerHandle ¶
func NewContextServerHandle ¶
func NewContextServerHandle(o ContextServer) dcerpc.ServerHandle
func RegisterContextServer ¶
func RegisterContextServer(conn dcerpc.Conn, o ContextServer, opts ...dcerpc.Option)
Types ¶
type ContextClient ¶
type ContextClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ContextClient }
IWbemContext interface.
func NewContextClient ¶
type ContextServer ¶
type ContextServer interface { // IUnknown base class. iunknown.UnknownServer }
IWbemContext server interface.
Click to show internal directories.
Click to hide internal directories.