Documentation ¶
Index ¶
- Variables
- func EnumEventObjectServerHandle(ctx context.Context, o EnumEventObjectServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewEnumEventObjectServerHandle(o EnumEventObjectServer) dcerpc.ServerHandle
- func RegisterEnumEventObjectServer(conn dcerpc.Conn, o EnumEventObjectServer, opts ...dcerpc.Option)
- type CloneRequest
- type CloneResponse
- type EnumEventObjectClient
- type EnumEventObjectServer
- type NextRequest
- type NextResponse
- type ResetRequest
- type ResetResponse
- type SkipRequest
- type SkipResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IEnumEventObject interface identifier f4a07d63-2e25-11d1-9964-00c04fbbb345 EnumEventObjectIID = &dcom.IID{Data1: 0xf4a07d63, Data2: 0x2e25, Data3: 0x11d1, Data4: []byte{0x99, 0x64, 0x00, 0xc0, 0x4f, 0xbb, 0xb3, 0x45}} // Syntax UUID EnumEventObjectSyntaxUUID = &uuid.UUID{TimeLow: 0xf4a07d63, TimeMid: 0x2e25, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0x99, ClockSeqLow: 0x64, Node: [6]uint8{0x0, 0xc0, 0x4f, 0xbb, 0xb3, 0x45}} // Syntax ID EnumEventObjectSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: EnumEventObjectSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/comev"
)
Functions ¶
func NewEnumEventObjectServerHandle ¶
func NewEnumEventObjectServerHandle(o EnumEventObjectServer) dcerpc.ServerHandle
func RegisterEnumEventObjectServer ¶
func RegisterEnumEventObjectServer(conn dcerpc.Conn, o EnumEventObjectServer, opts ...dcerpc.Option)
Types ¶
type CloneRequest ¶
type CloneRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
CloneRequest structure represents the Clone operation request
func (*CloneRequest) MarshalNDR ¶
func (*CloneRequest) UnmarshalNDR ¶
type CloneResponse ¶
type CloneResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppInterface: If the function returns a success HRESULT, this MUST contain the interface // pointer of the clone DCOM object supporting the IEnumEventObject interface. Interface *comev.EnumEventObject `idl:"name:ppInterface" json:"interface"` // Return: The Clone return value. Return int32 `idl:"name:Return" json:"return"` }
CloneResponse structure represents the Clone operation response
func (*CloneResponse) MarshalNDR ¶
func (*CloneResponse) UnmarshalNDR ¶
type EnumEventObjectClient ¶
type EnumEventObjectClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The Clone method clones the underlying collection into another DCOM object implementing // the IEnumEventObject interface. // // Return Values: An HRESULT specifying success or failure. All success codes MUST be // treated the same, and all failure codes MUST be treated the same. Clone(context.Context, *CloneRequest, ...dcerpc.CallOption) (*CloneResponse, error) // The Next method gets up to a specified number of items from the collection, if they // are available, starting at the current enumerator position. // // Return Values: An HRESULT specifying success or failure. All success codes other // than S_FALSE MUST be treated the same, and all failure codes MUST be treated the // same. // // +--------------------+------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------+------------------------+ // +--------------------+------------------------+ // | 0x00000001 S_FALSE | End of the collection. | // +--------------------+------------------------+ Next(context.Context, *NextRequest, ...dcerpc.CallOption) (*NextResponse, error) // The Reset method resets the enumerator back to the first element in the collection. // // This method has no parameters. // // Return Values: An HRESULT specifying success or failure. All success codes other // than S_FALSE MUST be treated the same, and all failure codes MUST be treated the // same. // // +--------------------+-------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------+-------------------------------------------------------------------------------+ // +--------------------+-------------------------------------------------------------------------------+ // | 0x00000001 S_FALSE | The enumeration sequence was reset, but there are no items in the enumerator. | // +--------------------+-------------------------------------------------------------------------------+ Reset(context.Context, *ResetRequest, ...dcerpc.CallOption) (*ResetResponse, error) // The Skip method skips ahead in the collection by the number of elements specified. // // Return Values: An HRESULT specifying success or failure. All success codes other // than S_FALSE MUST be treated the same, and all failure codes MUST be treated the // same. // // +--------------------+--------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------+--------------------------------------------------------------------------+ // +--------------------+--------------------------------------------------------------------------+ // | 0x00000001 S_FALSE | The number of elements skipped was not the same as the number requested. | // +--------------------+--------------------------------------------------------------------------+ Skip(context.Context, *SkipRequest, ...dcerpc.CallOption) (*SkipResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) EnumEventObjectClient }
IEnumEventObject interface.
type EnumEventObjectServer ¶
type EnumEventObjectServer interface { // IUnknown base class. iunknown.UnknownServer // The Clone method clones the underlying collection into another DCOM object implementing // the IEnumEventObject interface. // // Return Values: An HRESULT specifying success or failure. All success codes MUST be // treated the same, and all failure codes MUST be treated the same. Clone(context.Context, *CloneRequest) (*CloneResponse, error) // The Next method gets up to a specified number of items from the collection, if they // are available, starting at the current enumerator position. // // Return Values: An HRESULT specifying success or failure. All success codes other // than S_FALSE MUST be treated the same, and all failure codes MUST be treated the // same. // // +--------------------+------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------+------------------------+ // +--------------------+------------------------+ // | 0x00000001 S_FALSE | End of the collection. | // +--------------------+------------------------+ Next(context.Context, *NextRequest) (*NextResponse, error) // The Reset method resets the enumerator back to the first element in the collection. // // This method has no parameters. // // Return Values: An HRESULT specifying success or failure. All success codes other // than S_FALSE MUST be treated the same, and all failure codes MUST be treated the // same. // // +--------------------+-------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------+-------------------------------------------------------------------------------+ // +--------------------+-------------------------------------------------------------------------------+ // | 0x00000001 S_FALSE | The enumeration sequence was reset, but there are no items in the enumerator. | // +--------------------+-------------------------------------------------------------------------------+ Reset(context.Context, *ResetRequest) (*ResetResponse, error) // The Skip method skips ahead in the collection by the number of elements specified. // // Return Values: An HRESULT specifying success or failure. All success codes other // than S_FALSE MUST be treated the same, and all failure codes MUST be treated the // same. // // +--------------------+--------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------+--------------------------------------------------------------------------+ // +--------------------+--------------------------------------------------------------------------+ // | 0x00000001 S_FALSE | The number of elements skipped was not the same as the number requested. | // +--------------------+--------------------------------------------------------------------------+ Skip(context.Context, *SkipRequest) (*SkipResponse, error) }
IEnumEventObject server interface.
type NextRequest ¶
type NextRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // cReqElem: The number of elements requested by the client to return from the collection. RequestElemCount uint32 `idl:"name:cReqElem" json:"request_elem_count"` }
NextRequest structure represents the Next operation request
func (*NextRequest) MarshalNDR ¶
func (*NextRequest) UnmarshalNDR ¶
type NextResponse ¶
type NextResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppInterface: If the function returns a success HRESULT, this MUST contain an array // of interface pointers of size cRetElem. Each element in the array MUST be either // a DCOM object supporting the IEventClass2 interface if the underlying collection // is of EventClasses or the element MUST be a DCOM object supporting IEventSubscription // DCOM interface if the underlying collection is of subscriptions. Interface []*dcom.Unknown `idl:"name:ppInterface;size_is:(cReqElem);length_is:(cRetElem)" json:"interface"` // cRetElem: If the function returns a success HRESULT, this MUST contain a number of // items returned in the array contained in ppInterface. ReturnElemCount uint32 `idl:"name:cRetElem" json:"return_elem_count"` // Return: The Next return value. Return int32 `idl:"name:Return" json:"return"` }
NextResponse structure represents the Next operation response
func (*NextResponse) MarshalNDR ¶
func (*NextResponse) UnmarshalNDR ¶
type ResetRequest ¶
type ResetRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
ResetRequest structure represents the Reset operation request
func (*ResetRequest) MarshalNDR ¶
func (*ResetRequest) UnmarshalNDR ¶
type ResetResponse ¶
type ResetResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Reset return value. Return int32 `idl:"name:Return" json:"return"` }
ResetResponse structure represents the Reset operation response
func (*ResetResponse) MarshalNDR ¶
func (*ResetResponse) UnmarshalNDR ¶
type SkipRequest ¶
type SkipRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // cSkipElem: The number of elements to skip ahead in the collection. SkipElemCount uint32 `idl:"name:cSkipElem" json:"skip_elem_count"` }
SkipRequest structure represents the Skip operation request
func (*SkipRequest) MarshalNDR ¶
func (*SkipRequest) UnmarshalNDR ¶
type SkipResponse ¶
type SkipResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The Skip return value. Return int32 `idl:"name:Return" json:"return"` }
SkipResponse structure represents the Skip operation response
func (*SkipResponse) MarshalNDR ¶
func (*SkipResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.