1Tspi_SetAttribData(3T)CG Software Stack Developer's ReferencTespi_SetAttribData(3)
2
3
4

NAME

6       Tspi_SetAttribData - set a non 32bit attribute of an object.
7

SYNOPSIS

9       #include <tss/platform.h>
10       #include <tss/tcpa_defines.h>
11       #include <tss/tcpa_typedef.h>
12       #include <tss/tcpa_struct.h>
13       #include <tss/tss_typedef.h>
14       #include <tss/tss_structs.h>
15       #include <tss/tspi.h>
16
17       TSS_RESULT Tspi_SetAttribData(TSS_HOBJECT hObject, TSS_FLAG attribFlag,
18                                     TSS_FLAG    subFlag, UINT32   ulAttribDataSize,
19                                     BYTE*       rgbAttribData);
20
21
22

DESCRIPTION

24       Tspi_SetAttribData   sets  the attributes associated with a given class
25       of object that aren't UINT32. The structure and size of  hte  attribute
26       data depends on the attribute.
27

PARAMETERS

29   hObject
30       Handle of the object where the attribute is to be set.
31
32   attribFlag
33       Flag indicating the attribute to set.
34
35   subFlag
36       Sub flag indicating the attribute to set
37
38   ulAttribDataSize
39       Supplies the length (in bytes) of the rgbAttribData.
40
41   rgbAttribData
42       Pointer  to  the  actual  data which is to be set for the specified at‐
43       tribute.
44

RETURN CODES

46       Tspi_SetAttribData returns TSS_SUCCESS on success, otherwise one of the
47       following values are returned:
48
49       TSS_E_INVALID_HANDLE - hObject is an invalid parameter.
50
51       TSS_E_ATTRIB_FLAG - attribFlag is an invalid parameter.
52
53       TSS_E_ATTRIB_SUBFLAG - subFlag is an invalid parameter.
54
55       TSS_E_ATTRIB_DATA - rgbAttribData is an invalid parameter.
56
57       TSS_E_BAD_PARAMETER
58
59       TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
60
61

CONFORMING TO

63       Tspi_SetAttribData  conforms  to  the  Trusted Computing Group Software
64       Specification version 1.1 Golden
65

SEE ALSO

67       Tspi_GetAttribData(3).
68
69
70
71TSS 1.1                           2004-05-26             Tspi_SetAttribData(3)
Impressum