19#if !defined(DATADISTRIBUTIONMANAGERTYPES_H__INCLUDED_)
20#define DATADISTRIBUTIONMANAGERTYPES_H__INCLUDED_
45#define NULL ((void *)0)
49#define DDM_EXPORT __declspec(dllexport)
51#define DDM_EXPORT __declspec(dllimport)
54#define DLLEXPORT DDM_EXPORT
55#define DLLIMPORT __declspec(dllimport)
56#define DLLCALL __cdecl
57#define FUNCALL __cdecl
76#define DDM_NO_TIMESTAMP -1
84#define CHANNEL_HANDLE IDataDistributionChannel*
89#define CHANNEL_HANDLE_PARAMETER CHANNEL_HANDLE channelHandle
106#define OPERATION_SUCCEEDED(or) (((OPERATION_RESULT)(or)) >= 0)
110#define OPERATION_FAILED(or) (((OPERATION_RESULT)(or)) < 0)
112#define DDM_NO_ERROR_CONDITION 0
115#define DDM_DATA_AVAILABLE 0x20000000
116#define DDM_END_OF_STREAM DDM_DATA_AVAILABLE + 1
117#define DDM_NO_DATA_RETURNED DDM_DATA_AVAILABLE + 2
118#define DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_BEGIN DDM_DATA_AVAILABLE + 3
119#define DDM_ELAPSED_MESSAGE_RECEIVE_TIMEOUT_END DDM_DATA_AVAILABLE + 4
120#define DDM_ELAPSED_MESSAGE_ACKNOWLEDGMENT_TIMEOUT DDM_DATA_AVAILABLE + 5
123#define DDM_UNMAPPED_ERROR_CONDITION 0xF0000000
124#define DDM_FATAL_ERROR DDM_UNMAPPED_ERROR_CONDITION + 1
125#define DDM_TIMEOUT DDM_UNMAPPED_ERROR_CONDITION + 2
126#define DDM_INVALID_DATA DDM_UNMAPPED_ERROR_CONDITION + 3
127#define DDM_SUBSYSTEM_NOT_STARTED DDM_UNMAPPED_ERROR_CONDITION + 4
128#define DDM_WRITE_FAILED DDM_UNMAPPED_ERROR_CONDITION + 5
129#define DDM_COMMIT_FAILED DDM_UNMAPPED_ERROR_CONDITION + 6
130#define DDM_POINTER_NOT_SET DDM_UNMAPPED_ERROR_CONDITION + 7
131#define DDM_NOT_IMPLEMENTED DDM_UNMAPPED_ERROR_CONDITION + 8
132#define DDM_PARAMETER_ERROR DDM_UNMAPPED_ERROR_CONDITION + 9
133#define DDM_SEEK_FAILED DDM_UNMAPPED_ERROR_CONDITION + 10
DataDistributionManager library.
long OPERATION_RESULT
OPERATION_RESULT type.
Definition DataDistributionManagerTypes.h:102
void * GENERIC_HANDLE
Generic handle definition, used for thread, lock, mutex.
Definition DataDistributionManagerTypes.h:94
The basic interface for all channel.
Definition DataDistributionManager.h:377