API Guide
2-208 API Functions 601355 Rev A
VS_Error_Get
Fields VS_Error_GetFields retrieves information associated
with an error handle. An error handle is used to pass error
information to and from VolServ.
An error handle is associated with each command handle and
with each notify handle. There is also a global error handle for
errors that cannot be associated with a command.
After a VolServ request or an attempt to receive callbacks fails,
information is stored in an error handle.
VS_Error_GetFields allows the user to retrieve this
information.
Synopsis VST_BOOLEAN VS_Error_GetFields
( VST_ERROR_HANDLE handle,
"…",
VSID_ENDFIELD )
Arguments handle = The error handle where information is
retrieved.
"…" = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by a pointer to a location where the
value of the parameter may be stored. The parameter
identifiers and types this function accepts are shown in the
following "Parameters" paragraph.
VSID_ENDFIELD = Required at the end of the variable
length argument list to indicate the end of the list.