Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
Smartcard Library FunctionsIFDHSetCapabilities(3SMARTCARD)


NAME

 IFDHSetCapabilities - set slot or card capabilities

SYNOPSIS

 
#include <smartcard/ifdhandler.h>
RESPONSECODE IFDHSetCapabilities(DWORD Lun, DWORD Tag, DWORD Length, PUCHAR Value);

PARAMETERS

 

The IFDHSetCapabilities() function takes the following parameters:

Input

 
Lun
Logical Unit Number
Tag
Tag of the desired data value
Length
Maximum length of the desired data value
Value
Value of the desired data

DESCRIPTION

 

The IFDHSetCapabilities() function sets the slot or card capabilities for the slot or card specified by Lun.


RETURN VALUES

 

The following values are returned:

IFD_SUCCESS
Successful completion.
IFD_ERROR_TAG
The tag is invalid.
IFD_ERROR_SET_FAILURE
The value of the data could not be set.
IFD_COMMUNICATION_ERROR
An error occurred.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityEvolving

SEE ALSO

 

IFDHCreateChannelByName(3SMARTCARD), IFDHGetCapabilities(3SMARTCARD), attributes(5)


NOTES

 

This manual page is derived from the MUSCLE PC/SC IFD Driver Developer Kit documentation. License terms and attribution and copyright information for this interface are available at the default location /var/sadm/pkg/SUNWocfh/install/copyright. If the Solaris Operating Environment has been installed anywhere other than the default location, modify the path to access the file at the installed location.



SunOS 5.9Go To TopLast Changed 4 Dec 2002