Table of Contents

Struct OPERATION_RESULT

Namespace
MASES.DataDistributionManager.Bindings.Interop
Assembly
DataDistributionManagerNet.dll
public struct OPERATION_RESULT : IComparable
Implements
Inherited Members

Constructors

OPERATION_RESULT(int)

public OPERATION_RESULT(int value)

Parameters

value int

Fields

DDM_COMMIT_FAILED

Commit failed

public const int DDM_COMMIT_FAILED = -268435450

Field Value

int

DDM_DATA_AVAILABLE

Data are available

public const int DDM_DATA_AVAILABLE = 536870912

Field Value

int

DDM_ELAPSED_MESSAGE_ACKNOWLEDGMENT_TIMEOUT

Timeout on acknowledgment

public const int DDM_ELAPSED_MESSAGE_ACKNOWLEDGMENT_TIMEOUT = 536870917

Field Value

int

DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_BEGIN

Timeout elapsed waiting for messages from the channel

public const int DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_BEGIN = 536870915

Field Value

int

DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_END

End timeout condition waiting for messages from the channel

public const int DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_END = 536870916

Field Value

int

DDM_END_OF_STREAM

Reached end of stream

public const int DDM_END_OF_STREAM = 536870913

Field Value

int

DDM_FATAL_ERROR

Fatal

public const int DDM_FATAL_ERROR = -268435455

Field Value

int

DDM_INVALID_DATA

Invalid data

public const int DDM_INVALID_DATA = -268435453

Field Value

int

DDM_NOT_IMPLEMENTED

Function not implemented

public const int DDM_NOT_IMPLEMENTED = -268435448

Field Value

int

DDM_NO_DATA_RETURNED

No data returned

public const int DDM_NO_DATA_RETURNED = 536870914

Field Value

int

DDM_NO_ERROR_CONDITION

Success code

public const int DDM_NO_ERROR_CONDITION = 0

Field Value

int

DDM_PARAMETER_ERROR

Errors in parameters

public const int DDM_PARAMETER_ERROR = -268435447

Field Value

int

DDM_POINTER_NOT_SET

Pointer not set within subsystem

public const int DDM_POINTER_NOT_SET = -268435449

Field Value

int

DDM_SUBSYSTEM_NOT_STARTED

Subsystem not started

public const int DDM_SUBSYSTEM_NOT_STARTED = -268435452

Field Value

int

DDM_TIMEOUT

Timeout occurred

public const int DDM_TIMEOUT = -268435454

Field Value

int

DDM_UNMAPPED_ERROR_CONDITION

Unmapped error

public const int DDM_UNMAPPED_ERROR_CONDITION = -268435456

Field Value

int

DDM_WRITE_FAILED

Failed on write

public const int DDM_WRITE_FAILED = -268435451

Field Value

int

Properties

Failed

public bool Failed { get; }

Property Value

bool

Succeeded

public bool Succeeded { get; }

Property Value

bool

Methods

CompareTo(OPERATION_RESULT)

public int CompareTo(OPERATION_RESULT that)

Parameters

that OPERATION_RESULT

Returns

int

CompareTo(int)

public int CompareTo(int that)

Parameters

that int

Returns

int

CompareTo(object)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public int CompareTo(object obj)

Parameters

obj object

An object to compare with this instance.

Returns

int

A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes obj in the sort order. Zero This instance occurs in the same position in the sort order as obj. Greater than zero This instance follows obj in the sort order.

Exceptions

ArgumentException

obj is not the same type as this instance.

Equals(OPERATION_RESULT)

public bool Equals(OPERATION_RESULT that)

Parameters

that OPERATION_RESULT

Returns

bool

Equals(int)

public bool Equals(int that)

Parameters

that int

Returns

bool

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

FAILED(int)

public static bool FAILED(int hr)

Parameters

hr int

Returns

bool

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

SUCCEEDED(int)

public static bool SUCCEEDED(int hr)

Parameters

hr int

Returns

bool

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator false(OPERATION_RESULT)

public static bool operator false(OPERATION_RESULT This)

Parameters

This OPERATION_RESULT

Returns

bool

implicit operator bool(OPERATION_RESULT)

public static implicit operator bool(OPERATION_RESULT This)

Parameters

This OPERATION_RESULT

Returns

bool

implicit operator int(OPERATION_RESULT)

public static implicit operator int(OPERATION_RESULT This)

Parameters

This OPERATION_RESULT

Returns

int

implicit operator OPERATION_RESULT(int)

public static implicit operator OPERATION_RESULT(int This)

Parameters

This int

Returns

OPERATION_RESULT

operator true(OPERATION_RESULT)

public static bool operator true(OPERATION_RESULT This)

Parameters

This OPERATION_RESULT

Returns

bool