1Tspi_GetAttribUint32(3)    Library Functions Manual    Tspi_GetAttribUint32(3)
2
3
4
5                   TCG Software Stack Developers Reference
6

NAME

8       Tspi_GetAttribUint32 - get the value of particular attribute associated
9       with a given class or object
10

SYNOPSIS

12       #include <tss/platform.h>
13       #include <tss/tcpa_defines.h>
14       #include <tss/tcpa_typedef.h>
15       #include <tss/tcpa_struct.h>
16       #include <tss/tss_typedef.h>
17       #include <tss/tss_structs.h>
18       #include <tss/tspi.h>
19
20       TSS_RESULT Tspi_GetAttribUint32(TSS_HOBJECT hObject, TSS_FLAG attribFlag,
21                                       TSS_FLAG    subFlag, UINT32*  pulAttrib);
22
23
24

DESCRIPTION

26       Tspi_GetAttribUint32 returns a specified  uint32  attribute  associated
27       with  a  given  class or object. In order to use this command, you must
28       first create an object and then find the attributes you wish to set.
29
30

PARAMETERS

32   hObject
33       The hObject parameter is the handle of the object to retrieve  the  at‐
34       tribute from.
35
36   attribFlag
37       The attribFlag parameter indicates the specific attribute to query.
38
39   subFlag
40       The subFlag parameter also indicates the specific attribute to query.
41
42   pulAttrib
43       The  pulAttrib  parameter  is  a  pointer to the location where the at‐
44       tribute value is returned.
45
46

RETURN CODES

48       Tspi_GetAttribUint32 returns TSS_SUCCESS on success, otherwise  one  of
49       the following values is returned:
50
51       TSS_E_INVALID_HANDLE
52              hObject is not a valid handle.
53
54
55       TSS_E_INVALID_ATTRIB_FLAG
56              attribFlag is incorrect.
57
58
59       TSS_E_INVALID_ATTRIB_SUBFLAG
60              subFlag is incorrect.
61
62
63       TSS_E_INVALID_ATTRIB_DATA
64              pulAttrib is incorrect.
65
66
67       TSS_E_INTERNAL_ERROR
68              An internal SW error has been detected.
69
70
71       TSS_E_BAD_PARAMETER
72              One or more parameters is bad.
73
74

CONFORMING TO

76       Tspi_GetAttribUint32  conforms  to the Trusted Computing Group Software
77       Specification version 1.1 Golden
78
79

SEE ALSO

81       Tspi_GetAttribData(3), Tspi_SetAttribUint32(3), Tspi_SetAttribData(3).
82
83
84
85
86TSS 1.1                           2004-05-25           Tspi_GetAttribUint32(3)
Impressum