; mstlsapi.def: 

LIBRARY      "mstlsapi"

EXPORTS
    ;
    ; Public RPC function
    ;
    TLSGetVersion                       @2
    MIDL_user_allocate                  @3
    MIDL_user_free                      @4
    EnumerateTlsServer                  @5
    TLSSendServerCertificate            @6
    TLSGetServerName                    @7
    TLSGetServerScope                   @8
    TLSIssuePlatformChallenge           @10
    TLSIssueNewLicense                  @11
    TLSUpgradeLicense                   @12    
    TLSAllocateConcurrentLicense        @13
    TLSGetLastError                     @14
    TLSKeyPackEnumBegin                 @15
    TLSKeyPackEnumNext                  @16
    TLSKeyPackEnumEnd                   @17
    TLSLicenseEnumBegin                 @18
    TLSLicenseEnumNext                  @19
    TLSLicenseEnumEnd                   @20
    TLSGetAvailableLicenses             @21
    TLSConnectToLsServer                @24
    TLSConnectToAnyLsServer             @25
    TLSDisconnectFromServer             @26
    FindEnterpriseServer                @27
    GetAllEnterpriseServers             @28
    TLSInit				@29
    TLSGetTSCertificate                 @30
    LsCsp_GetServerData                 @31
    LsCsp_DecryptEnvelopedData          @32
    LsCsp_EncryptHwid                   @33
    LsCsp_StoreSecret                   @34
    LsCsp_RetrieveSecret                @35
    TLSStartDiscovery			@36
    TLSStopDiscovery			@37
    TLSShutdown				@38
    TLSFreeTSCertificate                @39
    TLSIssueNewLicenseEx                @40
    TLSUpgradeLicenseEx                 @41
    TLSCheckLicenseMark                 @42
    TLSIssueNewLicenseExEx              @43
    TLSGetServerNameEx                  @44
    TLSLicenseEnumNextEx                @45

    TLSGetServerNameFixed               @46
    TLSGetServerScopeFixed              @47
    TLSGetLastErrorFixed                @48

    ;
    ; Private function call
    ; 
    RequestToTlsRequest                 @101 PRIVATE 
    TLSRequestTermServCert              @103 PRIVATE
    TLSRetrieveTermServCert             @104 PRIVATE
    TLSInstallCertificate               @105 PRIVATE
    TLSGetServerCertificate             @106 PRIVATE
    TLSRegisterLicenseKeyPack           @107 PRIVATE
    TLSGetLSPKCS10CertRequest           @108 PRIVATE
    TLSKeyPackAdd                       @109 PRIVATE
    TLSKeyPackSetStatus                 @110 PRIVATE
    TLSReturnLicense                    @113 PRIVATE
    TLSAnnounceServer                   @114 PRIVATE
    TLSLookupServer                     @115 PRIVATE
    TLSAnnounceLicensePack              @116 PRIVATE
    TLSReturnLicensedProduct            @117 PRIVATE
    TLSTelephoneRegisterLKP             @118 PRIVATE 

    TLSChallengeServer                  @119NONAME PRIVATE
    TLSResponseServerChallenge          @120NONAME PRIVATE
    TLSGetTlsPrivateData                @121NONAME PRIVATE
    TLSTriggerReGenKey                  @123NONAME PRIVATE
    TLSGetServerPID                     @124NONAME PRIVATE
    TLSGetServerSPK                     @126NONAME PRIVATE
    TLSDepositeServerSPK                @127NONAME PRIVATE
    TLSAllocateInternetLicenseEx        @130NONAME PRIVATE  
    TLSReturnInternetLicenseEx          @131NONAME PRIVATE  
    TLSIsBetaNTServer                   @132NONAME PRIVATE
    TLSIsLicenseEnforceEnable           @133NONAME PRIVATE

    TLSInDomain                         @134 PRIVATE
    TLSMarkLicense                      @135NONAME PRIVATE

    TLSGetSupportFlags                  @136 PRIVATE

    TLSLookupServerFixed                @138 PRIVATE
