Documentation ¶
Index ¶
- Variables
- func NewPropertyServerHandle(o PropertyServer) dcerpc.ServerHandle
- func PropertyServerHandle(ctx context.Context, o PropertyServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func RegisterPropertyServer(conn dcerpc.Conn, o PropertyServer, opts ...dcerpc.Option)
- type GetNameRequest
- type GetNameResponse
- type GetPropertyFlagsRequest
- type GetPropertyFlagsResponse
- type GetSourcesRequest
- type GetSourcesResponse
- type GetValueRequest
- type GetValueResponse
- type PropertyClient
- type PropertyServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IFsrmProperty interface identifier 4a73fee4-4102-4fcc-9ffb-38614f9ee768 PropertyIID = &dcom.IID{Data1: 0x4a73fee4, Data2: 0x4102, Data3: 0x4fcc, Data4: []byte{0x9f, 0xfb, 0x38, 0x61, 0x4f, 0x9e, 0xe7, 0x68}} // Syntax UUID PropertySyntaxUUID = &uuid.UUID{TimeLow: 0x4a73fee4, TimeMid: 0x4102, TimeHiAndVersion: 0x4fcc, ClockSeqHiAndReserved: 0x9f, ClockSeqLow: 0xfb, Node: [6]uint8{0x38, 0x61, 0x4f, 0x9e, 0xe7, 0x68}} // Syntax ID PropertySyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: PropertySyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/fsrm"
)
Functions ¶
func NewPropertyServerHandle ¶
func NewPropertyServerHandle(o PropertyServer) dcerpc.ServerHandle
func PropertyServerHandle ¶
func RegisterPropertyServer ¶
func RegisterPropertyServer(conn dcerpc.Conn, o PropertyServer, opts ...dcerpc.Option)
Types ¶
type GetNameRequest ¶
type GetNameRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetNameRequest structure represents the Name operation request
func (*GetNameRequest) MarshalNDR ¶
func (*GetNameRequest) UnmarshalNDR ¶
type GetNameResponse ¶
type GetNameResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Name *oaut.String `idl:"name:name" json:"name"` // Return: The Name return value. Return int32 `idl:"name:Return" json:"return"` }
GetNameResponse structure represents the Name operation response
func (*GetNameResponse) MarshalNDR ¶
func (*GetNameResponse) UnmarshalNDR ¶
type GetPropertyFlagsRequest ¶
type GetPropertyFlagsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetPropertyFlagsRequest structure represents the PropertyFlags operation request
func (*GetPropertyFlagsRequest) MarshalNDR ¶
func (*GetPropertyFlagsRequest) UnmarshalNDR ¶
type GetPropertyFlagsResponse ¶
type GetPropertyFlagsResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // flags: Pointer to a variable that upon completion contains the property definition // instance.flags of the Property Definition Instance. Flags int32 `idl:"name:flags" json:"flags"` // Return: The PropertyFlags return value. Return int32 `idl:"name:Return" json:"return"` }
GetPropertyFlagsResponse structure represents the PropertyFlags operation response
func (*GetPropertyFlagsResponse) MarshalNDR ¶
func (*GetPropertyFlagsResponse) UnmarshalNDR ¶
type GetSourcesRequest ¶
type GetSourcesRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetSourcesRequest structure represents the Sources operation request
func (*GetSourcesRequest) MarshalNDR ¶
func (*GetSourcesRequest) UnmarshalNDR ¶
type GetSourcesResponse ¶
type GetSourcesResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // sources: Contains the array of sources for the Property Definition Instance. Sources *oaut.SafeArray `idl:"name:sources" json:"sources"` // Return: The Sources return value. Return int32 `idl:"name:Return" json:"return"` }
GetSourcesResponse structure represents the Sources operation response
func (*GetSourcesResponse) MarshalNDR ¶
func (*GetSourcesResponse) UnmarshalNDR ¶
type GetValueRequest ¶
type GetValueRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetValueRequest structure represents the Value operation request
func (*GetValueRequest) MarshalNDR ¶
func (*GetValueRequest) UnmarshalNDR ¶
type GetValueResponse ¶
type GetValueResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` Value *oaut.String `idl:"name:value" json:"value"` // Return: The Value return value. Return int32 `idl:"name:Return" json:"return"` }
GetValueResponse structure represents the Value operation response
func (*GetValueResponse) MarshalNDR ¶
func (*GetValueResponse) UnmarshalNDR ¶
type PropertyClient ¶
type PropertyClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // Name operation. GetName(context.Context, *GetNameRequest, ...dcerpc.CallOption) (*GetNameResponse, error) // Value operation. GetValue(context.Context, *GetValueRequest, ...dcerpc.CallOption) (*GetValueResponse, error) // The Sources (get) method retrieves the sources for this Property Definition Instance // and returns S_OK upon successful completion. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. GetSources(context.Context, *GetSourcesRequest, ...dcerpc.CallOption) (*GetSourcesResponse, error) // The PropertyFlags (get) retrieves the property definition instance.flags for the // Property Definition Instance in an FsrmPropertyFlags (section 2.2.2.6.1.1) enumeration // and returns S_OK upon successful completion. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+------------------------------+ // +-------------------------+------------------------------+ // | 0x80070057 E_INVALIDARG | The flags parameter is NULL. | // +-------------------------+------------------------------+ GetPropertyFlags(context.Context, *GetPropertyFlagsRequest, ...dcerpc.CallOption) (*GetPropertyFlagsResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) PropertyClient }
IFsrmProperty interface.
func NewPropertyClient ¶
type PropertyServer ¶
type PropertyServer interface { // IDispatch base class. idispatch.DispatchServer // Name operation. GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) // Value operation. GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error) // The Sources (get) method retrieves the sources for this Property Definition Instance // and returns S_OK upon successful completion. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. GetSources(context.Context, *GetSourcesRequest) (*GetSourcesResponse, error) // The PropertyFlags (get) retrieves the property definition instance.flags for the // Property Definition Instance in an FsrmPropertyFlags (section 2.2.2.6.1.1) enumeration // and returns S_OK upon successful completion. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+------------------------------+ // +-------------------------+------------------------------+ // | 0x80070057 E_INVALIDARG | The flags parameter is NULL. | // +-------------------------+------------------------------+ GetPropertyFlags(context.Context, *GetPropertyFlagsRequest) (*GetPropertyFlagsResponse, error) }
IFsrmProperty server interface.
Click to show internal directories.
Click to hide internal directories.