![]() |
![]()
| ![]() |
![]()
NAMETspi_SetAttribData - set a non 32bit attribute of an object. SYNOPSIS#include <tss/platform.h> #include <tss/tcpa_defines.h> #include <tss/tcpa_typedef.h> #include <tss/tcpa_struct.h> #include <tss/tss_typedef.h> #include <tss/tss_structs.h> #include <tss/tspi.h> TSS_RESULT Tspi_SetAttribData(TSS_HOBJECT hObject, TSS_FLAG attribFlag, TSS_FLAG subFlag, UINT32 ulAttribDataSize, BYTE* rgbAttribData); DESCRIPTIONTspi_SetAttribData sets the attributes associated with a given class of object that aren't UINT32. The structure and size of hte attribute data depends on the attribute. PARAMETERShObjectHandle of the object where the attribute is to be set. attribFlagFlag indicating the attribute to set. subFlagSub flag indicating the attribute to set ulAttribDataSizeSupplies the length (in bytes) of the rgbAttribData. rgbAttribDataPointer to the actual data which is to be set for the specified attribute. RETURN CODESTspi_SetAttribData returns TSS_SUCCESS on success, otherwise one of the following values are returned:
CONFORMING TOTspi_SetAttribData conforms to the Trusted Computing Group Software Specification version 1.1 Golden SEE ALSOTspi_GetAttribData(3).
|