beautypg.com

Appendix a. sx11.dll reference – Sensoray 711 User Manual

Page 9

background image

10

Sensoray Model 711 Instruction Manual

Appendix A. SX11.dll reference.

Data Types

HFG
A 32-bit value used as a handle to a frame grabber. All functions use the handle to access a
particular board.

HBUF
A 32-bit value used as a handle to an image buffer. Acquisition functions use the handle to
access a particular buffer.

ECODE
A 32-bit value used as an error code.

PCI

typedef struct {
DWORD boards;
DWORD PCIslot[SYS_GRABBERS];
} PCI;

The PCI structure contains information about the frame grabber boards identified by the
system.

Member

Description

boards

Number of supported boards identified by the system.

PCIslot

Array of slot numbers.

The PCI structure is initialized by X11_InitSystem function. The system constant
SYS_GRABBERS determines the maximum number of frame grabbers supported, and is
defined in SX11.h. PCIslot member represents a PCI slot number for a given board. The
PCI slot number is generated by PCI BIOS, and may not be the same as the ordinal number
of the slot.

FRAME

typedef struct {
LPBITMAPINFO lpbmi;
void * lpvbits;
} FRAME;

The FRAME structure contains information about the individual frame of the image buffer
allocated by the system.

Member

Description

lpbmi

Pointer to the BITMAPINFO structure which defines the
dimensions and color information for a device-independent
bitmap (DIB) associated with the frame.

lpvbits

Pointer to the frame image data.