(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/expansion.h>

ULONG GetCurrentBinding (currentBinding , bindingSize)

LOCATION
In ExpansionBase at offset 23

SYNOPSIS
struct CurrentBinding * currentBinding
ULONG bindingSize

FUNCTION
This function will return the contents of the "currentBinding" structure. The currentBinding structure may be set with SetConfigBinding(). This is how arguments are passed to a newly configured device.

A CurrentBinding structure has the following information: - the name of the currently loaded driver file - the product string associated with this driver - a singly linked list of ConfigDev structures

You may not need this information, but it is recommended that you at least make sure you can deal with the product code in the ConfigDev structure.

INPUTS
currentBinding
a pointer to the CurrentBinding structure that you wish filled in.
bindingSize
the size of the currentBinding structure. Do not pass less than sizeof(struct CurrentBinding).

RESULT
The size of the CurrentBinding structure returned.

EXAMPLE

SEE ALSO
SetCurrentBinding()

NOTES

BUGS

INTERNALS

HISTORY