1Tspi_Context_ConnectT(C3G)Software Stack Developer's RefereTnscpei_Context_Connect(3)
2
3
4

NAME.

6       Tspi_Context_Connect- connect a TSP to a Core Services daemon
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_Context_Connect(TSS_HCONTEXT hLocalContext, UNICODE* wszDestination);
18
19

DESCRIPTION

21       Tspi_Context_Connect  creates  a  connetion between the application and
22       the local or remote TSS System.
23

PARAMETERS

25   hLocalContext
26       The handle to the context to be connected.
27
28   wszDestination
29       A null terminated unicode string which specifies  the local  or  remote
30       system  to  which one will be connected. If wszDestination is NULL, the
31       connection will be to a local TCS.
32
33

RETURN CODES

35       Tspi_Context_Connect returns TSS_SUCCESS on success, otherwise  one  of
36       the following values are returned:
37
38       TSS_E_INVALID_HANDLE - hLocalContext is an invalid handle.
39
40       TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS.
41

CONFORMING TO

43       Tspi_Context_Connect  conforms  to the Trusted Computing Group Software
44       Specification version 1.1 Golden
45

SEE ALSO

47       Tspi_Context_Create(3), Tspi_Context_Close(3).
48
49
50
51
52
53TSS 1.1                           2004-05-26           Tspi_Context_Connect(3)
Impressum