iDRS™ SDK 16
Loading...
Searching...
No Matches
idrsstd_interface.h
Go to the documentation of this file.
1
6#ifndef IDRSSTD_INTERFACE_H
7#define IDRSSTD_INTERFACE_H
8
9#include <stdio.h>
10#include <string.h>
11#include <wchar.h>
12#include <stdlib.h>
13
15typedef unsigned char IDRS_BYTE;
19typedef char IDRS_CHAR;
21typedef unsigned char IDRS_UCHAR;
23typedef unsigned int IDRS_WCHAR32;
25typedef int IDRS_INT;
27typedef unsigned int IDRS_UINT;
29typedef unsigned int IDRS_UINT32;
31typedef long long IDRS_INT64;
33typedef unsigned long long IDRS_UINT64;
35typedef double IDRS_DOUBLE;
39#define IDRS_FALSE 0
41#define IDRS_TRUE 1
45typedef const IDRS_CHAR *IDRS_CSTR;
47typedef FILE *IDRS_FILE;
49typedef void *IDRS_PVOID;
51typedef const void *IDRS_CPVOID;
52
54#define IDRS_MAX_PATH 260
55
73 typedef struct
74 {
79 } IDRS_POINT;
110
111#ifdef __cplusplus
112extern "C" {
113#endif
114
118int IsNullObject(struct idrsObject* ptr);
119
120#ifdef __cplusplus
121}
122#endif /* __cplusplus */
123
124
125#endif /* IDRSSTD_INTERFACE_H */
long long IDRS_INT64
An signed 64 bit value.
Definition idrsstd_interface.h:31
const IDRS_CHAR * IDRS_CSTR
A constant string.
Definition idrsstd_interface.h:45
const void * IDRS_CPVOID
A constant void pointer.
Definition idrsstd_interface.h:51
unsigned char IDRS_UCHAR
An unsigned char.
Definition idrsstd_interface.h:21
char IDRS_CHAR
A signed char.
Definition idrsstd_interface.h:19
IDRS_INT IDRS_BOOL
A Boolean value.
Definition idrsstd_interface.h:37
unsigned int IDRS_UINT32
An unsigned integer on 32 bits.
Definition idrsstd_interface.h:29
int IsNullObject(struct idrsObject *ptr)
int IDRS_INT
A signed integer.
Definition idrsstd_interface.h:25
IDRS_SEEK_POSITION
The IDRS_SEEK_POSITION data type defines the initial position for a seek operation in a stream.
Definition idrsstd_interface.h:102
@ IDRS_SEEK_POSITION_BEGIN
Seek from the beginning. (The origin is the beginning of the stream)
Definition idrsstd_interface.h:104
@ IDRS_SEEK_POSITION_END
Seek from the end. (The origin is the end of the stream)
Definition idrsstd_interface.h:108
@ IDRS_SEEK_POSITION_CURRENT
Seek from the current position. (The origin is the current position in the stream)
Definition idrsstd_interface.h:106
double IDRS_DOUBLE
A double float value.
Definition idrsstd_interface.h:35
unsigned char IDRS_BYTE
A byte.
Definition idrsstd_interface.h:15
unsigned int IDRS_WCHAR32
An UTF-32 unicode character.
Definition idrsstd_interface.h:23
IDRS_BYTE * IDRS_PBYTE
Pointer to a byte.
Definition idrsstd_interface.h:17
unsigned long long IDRS_UINT64
An unsigned 64 bit value.
Definition idrsstd_interface.h:33
FILE * IDRS_FILE
A file pointer.
Definition idrsstd_interface.h:47
void * IDRS_PVOID
A void pointer.
Definition idrsstd_interface.h:49
unsigned int IDRS_UINT
An unsigned integer.
Definition idrsstd_interface.h:27
IDRS_CHAR * IDRS_STR
A string.
Definition idrsstd_interface.h:43
Structure defines a color with Red, Green and Blue components.
Definition idrsstd_interface.h:84
IDRS_UCHAR ucGreen
The green component.
Definition idrsstd_interface.h:88
IDRS_UCHAR ucRed
The red component.
Definition idrsstd_interface.h:90
IDRS_UCHAR ucBlue
The blue component.
Definition idrsstd_interface.h:86
Structure defines the coordinates of a point in iDRS.
Definition idrsstd_interface.h:74
IDRS_INT iX
Definition idrsstd_interface.h:76
IDRS_INT iY
Definition idrsstd_interface.h:78
Structure that defines the upper-left and lower-right corners of a rectangle.
Definition idrsstd_interface.h:60
IDRS_INT iBottom
Definition idrsstd_interface.h:66
IDRS_INT iLeft
Definition idrsstd_interface.h:64
IDRS_INT iTop
Definition idrsstd_interface.h:62
IDRS_INT iRight
Definition idrsstd_interface.h:68