(C) 1998 AROS - The Amiga Research OS


NAME
#include <clib/expansion_protos.h>

void SetCurrentBinding (currentBinding , bindingSize)

LOCATION
In ExpansionBase at offset 22

SYNOPSIS
struct CurrentBinding * currentBinding
ULONG bindingSize

FUNCTION
This function will return the contents of the "currentBinding" structure. The currentBinding structure may be returned with GetConfigBinding(). 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 set.

EXAMPLE

SEE ALSO
GetCurrentBinding()

NOTES

BUGS

INTERNALS

HISTORY