a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 expansion.library
  AddBootNode
  AddConfigDev
  AddDosNode
  AllocConfigDev
  AllocExpansionMem
  ConfigBoard
  FindConfigDev
  FreeConfigDev
  FreeExpansionMem
  GetCurrentBinding
  MakeDosNode
  ObtainConfigBinding
  ReadExpansionByte
  ReadExpansionRom
  ReleaseConfigBinding
  RemConfigDev
  SetCurrentBinding
  WriteExpansionByte
Include
GuruMeditation
Docs » Autodocs » expansion.library » GetCurrentBinding

NAME

	GetCurrentBinding - gets static board configuration area

SYNOPSIS

	actual = GetCurrentBinding( currentBinding, size )
A0 D0:16

FUNCTION

	This function writes the contents of the "currentBinding"
structure out of a private place. It may be set via
SetCurrentBinding(). This is really a kludge, but it is
the only way to pass extra arguments to a newly configured
device.
A CurrentBinding structure has the name of the currently
loaded file, the product string that was associated with
this driver, and a pointer to the head of a singly linked
list of ConfigDev structures (linked through the cd_NextCD
field).
Many devices may not need this information; they have hard
coded into themselves their manufacture number. It is
recommended that you at least check that you can deal with
the product code in the linked ConfigDev structures.

INPUTS

	currentBinding - a pointer to a CurrentBinding structure
size - The size of the user's binddriver structure.
Do not pass in less than sizeof(struct CurrentBinding).

RESULT

	actual - the true size of a CurrentBinding structure is returned.

SEE ALSO

SetCurrentBinding()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Alpha Flight 1970

RBS
AYS
AFL
SPB

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se