ACI Structures |
Top Previous Next |
This chapter describes the structures used by the ACI functions.
Here is an example of the structure syntax:
typedef struct tagACI_Buffer_Params { UINT Size; // (in) Size of structure, in bytes DWORD Layer0SizeLow; // (in || out) Low 32 bits of layer 0 size, in bytes DWORD Layer0SizeHigh; // (in || out) High 32 bits of layer 0 size, in bytes // Layer size is rounded up to a nearest value supported by programmer. LPCSTR BufferName; // (in) Buffer name UINT BufferNumber; // For ACI_CreateBuffer(): out: Created buffer number // For ACI_ReallocBuffer(): in: Buffer number to realloc UINT NumBuffers; // (out) Total number of currently allocated buffers UINT NumLayers; // (out) Total number of layers in a buffer } ACI_Buffer_Params;
Each structure includes a number of parameters (here Size, Layer0SizeLow, NumBuffers, etc.). The parameter's name follows its format (UINT, DWORD, LPCSTR, CHAR, BOOL, etc.). The comment on the parameter begins from a bracketed symbol showing the sending direction of this parameter:
|