ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
API Functions
2-65
Functions
VS_
Command_
GetError-
Fields
Command_
GetError-
Fields
VS_Command_GetErrorFields
retrieves information
associated with the command’s error handle. It can be used in
place of the
place of the
VS_Error_GetFields
routine when the user
does not want to retrieve the error handle explicitly from the
command handle.
command handle.
Synopsis
VST_BOOLEAN VS_Command_GetErrorFields
(VST_COMMAND_HANDLE cmdhandle,
(VST_COMMAND_HANDLE cmdhandle,
Arguments
•
cmdhandle = Command handle where the status
information is retrieved.
information is retrieved.
•
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by 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 section.
arguments. Each pair of arguments consists of a parameter
identifier, followed by 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 section.
•
VSID_ENDFIELD = Required at the end of the variable
length argument list to indicate the end of the list.
length argument list to indicate the end of the list.
Parameters
Parameter Type
Description
VSID_ERROR_CODE (VST_ERROR_CODE)
Pointer to the error code for the given error.
VSID_ERROR_FILE (VST_ERROR_FILE)
The name of the source file where the error
occurred (API internal errors only).
occurred (API internal errors only).
VSID_ERROR_LINE (int *)
Pointer to the source line number where the
error occurred (API internal errors only).
error occurred (API internal errors only).