AIDA_dwEvIdGetBlockSize

The AIDA_dwEvIdGetBlockSize function returns the internal minimum size of an id block.

dword AIDA_dwEvIdGetBlockSize(
  handle hStack
);

Parameters

hStack
Specifies the AIDA stack from which to request the information. This is a handle to an AIDA stack created by one of the AIDA stack manipulation functions.

Return Values

AIDA_dwEvIdGetBlockSize returns the current id block size.

In case of failure the function will return 0. The application can retrieve the error code using AIDA_iGetError.

Remarks

To use this function the id manager must have been activated when the stack was created.

This function can be used by the application for optimal usage of event id blocks. The stack has to be complete for this function to succeed.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Linux: Requires a kernel supporting ELF binaries.
  Header: Declared in bsk_aida.h, also requires portab.h.
  Import Library (Windows): Use BSK_AIDA.lib.

See Also

AIDA Overview, AIDA Functions, AIDA_dwEvIdGetBlock, AIDA_boEvIdFreeBlock