<div class="content"><p>This method returns the <a href="../ms-dtco/f5911ac2-7663-477b-bf76-8d4d01cc090c" data-linktype="relative-path">Propagation_Token</a>
(as specified in <a href="../ms-dtco/c367c571-33f3-44ac-85cb-4b9ebbb2779d" data-linktype="relative-path">[MS-DTCO]</a> 
section 2.2.5.4) of the currently active transaction and the <b>CurrentTSN</b>
value.</p><dl>
<dd>
<div><pre> HRESULT GetSeqAndTxViaTransmitter(
   [in] unsigned long ulKnownSeq,
   [out] unsigned long* pulCurrentSeq,
   [out] unsigned long* pulcbTransmitterBuffer,
   [out, size_is(,*pulcbTransmitterBuffer)] 
     BYTE** prgbTransmitterBuffer
 );
</pre></div>
</dd></dl><p><b>ulKnownSeq: </b>The caller&#39;s CurrentTSN value of
the currently active <a href="482ab606-0b55-4821-8b6d-d453351406c5#gt_61e1de21-a78d-4d20-b184-eda380386871" data-linktype="relative-path">transaction</a>.</p><p><b>pulCurrentSeq: </b>The <a href="482ab606-0b55-4821-8b6d-d453351406c5#gt_ef97ef16-ebb2-45e5-8543-d1b189bdb659" data-linktype="relative-path">TSN</a> of the currently active
transaction.</p><p><b>pulcbTransmitterBuffer: </b>The unsigned size, in
bytes, of <i>prgbTransmitterBuffer</i>.</p><p><b>prgbTransmitterBuffer: </b>A Propagation_Token of
the currently active transaction. </p><p><b>Return Values: </b>The method MUST return a
positive value or zero, to indicate successful completion, or a negative value
to indicate failure. The client MUST treat any negative return value as a fatal
error.</p><p>When processing this <a href="482ab606-0b55-4821-8b6d-d453351406c5#gt_d4ad46fe-cbab-43f2-a125-b2f125824f33" data-linktype="relative-path">ORPC</a> call, the <a href="e105692e-61da-49dd-9bb1-09cd6b8c67bc" data-linktype="relative-path">ITransactionStream Server</a>
MUST do the following:</p><ul><li><p><span><span> 
</span></span>If the DtcCap_CanTransmit bit is not set in the <b>DtcCapabilities</b>
value, it MUST return CO_E_NOT_SUPPORTED.</p>
</li><li><p><span><span> 
</span></span>If <i>ulKnownSeq</i> is the same as the <b>CurrentTSN</b> value,
the ITransactionStream Server MUST do the following:</p>
<ul><li><p><span><span>  </span></span>Set
<i>pulCurrentSeq</i> to <i>ulKnownSeq</i>.</p>
</li><li><p><span><span>  </span></span>Set
<i>pulcbTransmitterBuffer</i> to zero.</p>
</li><li><p><span><span>  </span></span>Set
<i>prgbTransmitterBuffer</i> to NULL.</p>
</li></ul></li><li><p><span><span> 
</span></span>Otherwise, the ITransactionStream Server MUST do the following:</p>
<ul><li><p><span><span>  </span></span>Set
<i>pulCurrentSeq</i> to the <b>CurrentTSN</b> value.</p>
</li><li><p><span><span>  </span></span>Set
<i>pulcbTransmitterBuffer</i> to the size of <i>prgbTransmitterBuffer</i>. </p>
</li><li><p><span><span>  </span></span>Copy
the Propagation_Token of the currently active transaction to the <i>prgbTransmitterBuffer</i>
out parameter. </p>
</li></ul></li></ul></div>