Documentation ¶
Index ¶
- Variables
- func NewPCHCollectionServerHandle(o PCHCollectionServer) dcerpc.ServerHandle
- func PCHCollectionServerHandle(ctx context.Context, o PCHCollectionServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func RegisterPCHCollectionServer(conn dcerpc.Conn, o PCHCollectionServer, opts ...dcerpc.Option)
- type GetCountRequest
- type GetCountResponse
- type GetItemRequest
- type GetItemResponse
- type Get_NewEnumRequest
- type Get_NewEnumResponse
- type PCHCollectionClient
- type PCHCollectionServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IPCHCollection interface identifier 833e4100-aff7-4ac3-aac2-9f24c1457bce PCHCollectionIID = &dcom.IID{Data1: 0x833e4100, Data2: 0xaff7, Data3: 0x4ac3, Data4: []byte{0xaa, 0xc2, 0x9f, 0x24, 0xc1, 0x45, 0x7b, 0xce}} // Syntax UUID PCHCollectionSyntaxUUID = &uuid.UUID{TimeLow: 0x833e4100, TimeMid: 0xaff7, TimeHiAndVersion: 0x4ac3, ClockSeqHiAndReserved: 0xaa, ClockSeqLow: 0xc2, Node: [6]uint8{0x9f, 0x24, 0xc1, 0x45, 0x7b, 0xce}} // Syntax ID PCHCollectionSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: PCHCollectionSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/rai"
)
Functions ¶
func NewPCHCollectionServerHandle ¶
func NewPCHCollectionServerHandle(o PCHCollectionServer) dcerpc.ServerHandle
func RegisterPCHCollectionServer ¶
func RegisterPCHCollectionServer(conn dcerpc.Conn, o PCHCollectionServer, opts ...dcerpc.Option)
Types ¶
type GetCountRequest ¶
type GetCountRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetCountRequest structure represents the Count operation request
func (*GetCountRequest) MarshalNDR ¶
func (*GetCountRequest) UnmarshalNDR ¶
type GetCountResponse ¶
type GetCountResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pVal: A pointer to the number of elements in the collection. Value int32 `idl:"name:pVal" json:"value"` // Return: The Count return value. Return int32 `idl:"name:Return" json:"return"` }
GetCountResponse structure represents the Count operation response
func (*GetCountResponse) MarshalNDR ¶
func (*GetCountResponse) UnmarshalNDR ¶
type GetItemRequest ¶
type GetItemRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // vIndex: One-indexed number of the element to retrieve. VIndex int32 `idl:"name:vIndex" json:"v_index"` }
GetItemRequest structure represents the Item operation request
func (*GetItemRequest) MarshalNDR ¶
func (*GetItemRequest) UnmarshalNDR ¶
type GetItemResponse ¶
type GetItemResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppEntry: A pointer to the element at vIndex, of type VARIANT as defined in [MS-OAUT] // section 2.2.29.2. Entry *oaut.Variant `idl:"name:ppEntry" json:"entry"` // Return: The Item return value. Return int32 `idl:"name:Return" json:"return"` }
GetItemResponse structure represents the Item operation response
func (*GetItemResponse) MarshalNDR ¶
func (*GetItemResponse) UnmarshalNDR ¶
type Get_NewEnumRequest ¶
type Get_NewEnumRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
Get_NewEnumRequest structure represents the _NewEnum operation request
func (*Get_NewEnumRequest) MarshalNDR ¶
func (*Get_NewEnumRequest) UnmarshalNDR ¶
type Get_NewEnumResponse ¶
type Get_NewEnumResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Value *dcom.Unknown `idl:"name:pVal" json:"value"` // Return: The _NewEnum return value. Return int32 `idl:"name:Return" json:"return"` }
Get_NewEnumResponse structure represents the _NewEnum operation response
func (*Get_NewEnumResponse) MarshalNDR ¶
func (*Get_NewEnumResponse) UnmarshalNDR ¶
type PCHCollectionClient ¶
type PCHCollectionClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // _NewEnum operation. Get_NewEnum(context.Context, *Get_NewEnumRequest, ...dcerpc.CallOption) (*Get_NewEnumResponse, error) // The Item method retrieves an element. // // Return Values: A signed 32-bit value indicating return status. This method MUST return // zero to indicate success, or an HRESULT error value (as specified in [MS-ERREF] section // 2.1.1) to indicate failure. // // +--------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+----------------------------------------------------+ // +--------------------------+----------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +--------------------------+----------------------------------------------------+ // | 0x80004003 E_POINTER | The method failed due to an invalid pointer. | // +--------------------------+----------------------------------------------------+ // | 0x8007000E E_OUTOFMEMORY | The method was unable to allocate required memory. | // +--------------------------+----------------------------------------------------+ // // Exceptions Thrown: // // No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE]. GetItem(context.Context, *GetItemRequest, ...dcerpc.CallOption) (*GetItemResponse, error) // The Count method retrieves the number of elements in the collection. // // Return Values: A signed 32-bit value indicating return status. This method MUST return // zero to indicate success, or an HRESULT error value (as specified in [MS-ERREF] section // 2.1.1) to indicate failure. // // +--------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+----------------------------------------------------+ // +--------------------------+----------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +--------------------------+----------------------------------------------------+ // | 0x80004003 E_POINTER | The method failed due to an invalid pointer. | // +--------------------------+----------------------------------------------------+ // | 0x8007000E E_OUTOFMEMORY | The method was unable to allocate required memory. | // +--------------------------+----------------------------------------------------+ // // Exceptions Thrown: // // No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE]. GetCount(context.Context, *GetCountRequest, ...dcerpc.CallOption) (*GetCountResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) PCHCollectionClient }
IPCHCollection interface.
func NewPCHCollectionClient ¶
type PCHCollectionServer ¶
type PCHCollectionServer interface { // IDispatch base class. idispatch.DispatchServer // _NewEnum operation. Get_NewEnum(context.Context, *Get_NewEnumRequest) (*Get_NewEnumResponse, error) // The Item method retrieves an element. // // Return Values: A signed 32-bit value indicating return status. This method MUST return // zero to indicate success, or an HRESULT error value (as specified in [MS-ERREF] section // 2.1.1) to indicate failure. // // +--------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+----------------------------------------------------+ // +--------------------------+----------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +--------------------------+----------------------------------------------------+ // | 0x80004003 E_POINTER | The method failed due to an invalid pointer. | // +--------------------------+----------------------------------------------------+ // | 0x8007000E E_OUTOFMEMORY | The method was unable to allocate required memory. | // +--------------------------+----------------------------------------------------+ // // Exceptions Thrown: // // No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE]. GetItem(context.Context, *GetItemRequest) (*GetItemResponse, error) // The Count method retrieves the number of elements in the collection. // // Return Values: A signed 32-bit value indicating return status. This method MUST return // zero to indicate success, or an HRESULT error value (as specified in [MS-ERREF] section // 2.1.1) to indicate failure. // // +--------------------------+----------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +--------------------------+----------------------------------------------------+ // +--------------------------+----------------------------------------------------+ // | 0x00000000 S_OK | The call was successful. | // +--------------------------+----------------------------------------------------+ // | 0x80004003 E_POINTER | The method failed due to an invalid pointer. | // +--------------------------+----------------------------------------------------+ // | 0x8007000E E_OUTOFMEMORY | The method was unable to allocate required memory. | // +--------------------------+----------------------------------------------------+ // // Exceptions Thrown: // // No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE]. GetCount(context.Context, *GetCountRequest) (*GetCountResponse, error) }
IPCHCollection server interface.
Click to show internal directories.
Click to hide internal directories.