<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.win32service.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.win32-set-service-status.php',
    1 => 'win32_set_service_status',
    2 => 'Hizmet durumunu g&uuml;nceller',
  ),
  'up' => 
  array (
    0 => 'ref.win32service.php',
    1 => 'win32service İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.win32-set-service-pause-resume-state.php',
    1 => 'win32_set_service_pause_resume_state',
  ),
  'next' => 
  array (
    0 => 'function.win32-start-service.php',
    1 => 'win32_start_service',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/win32service/functions/win32-set-service-status.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.win32-set-service-status" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_set_service_status</h1>
  <p class="verinfo">(PECL win32service &gt;=0.1.0)</p><p class="refpurpose"><span class="refname">win32_set_service_status</span> &mdash; <span class="dc-title">Hizmet durumunu günceller</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.win32-set-service-status-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>win32_set_service_status</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$durum</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$denetim_noktası</code><span class="initializer"> = 0</span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Hizmet yöneticisine çalışan hizmetin durumu hakkında bilgi verir. Bu çağrı
   sadece çalışmakta olan hizmet süreçleri için geçerlidir.
  </p>
  <div class="caution"><strong class="caution">Dikkat</strong>
   <p class="para">
    0.2.0 sürümünden beri, bu işlev sadece &quot;cli&quot; SAPI ile çalışmaktadır.
    Başka SAPI&#039;lerde bu işlev devre dışıdır.
   </p>
  </div>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.win32-set-service-status-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">durum</code></dt>
     <dd>
      <p class="para">
       Hizmet durum kodu. Şunlardan biri olmalıdır:
       <strong><code><a href="win32service.constants.php#constant.win32-service-running">WIN32_SERVICE_RUNNING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-stopped">WIN32_SERVICE_STOPPED</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-stop-pending">WIN32_SERVICE_STOP_PENDING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-start-pending">WIN32_SERVICE_START_PENDING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-continue-pending">WIN32_SERVICE_CONTINUE_PENDING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-pause-pending">WIN32_SERVICE_PAUSE_PENDING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-paused">WIN32_SERVICE_PAUSED</a></code></strong>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">denetim_noktası</code></dt>
     <dd>
      <p class="para">
       Denetim noktası değeri, hizmetin uzun bir başlatma, durdurma,
       duraklatma veya devam etme işlemi sırasında ilerlemesini bildirmek
       için düzenli aralıklarla artırdığı değerdir. Örneğin, hizmet
       başlatılırken başlatma işleminin her adımını tamamlandıkça bu değer
       artırılmalıdır.
      </p>
      <p class="para">
       <code class="parameter">denetim_noktası</code> değerinin geçerli olabilmesi
       için <code class="parameter">durum</code> şunlardan biri olmalıdır:
       <strong><code><a href="win32service.constants.php#constant.win32-service-stop-pending">WIN32_SERVICE_STOP_PENDING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-start-pending">WIN32_SERVICE_START_PENDING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-continue-pending">WIN32_SERVICE_CONTINUE_PENDING</a></code></strong>,
       <strong><code><a href="win32service.constants.php#constant.win32-service-pause-pending">WIN32_SERVICE_PAUSE_PENDING</a></code></strong>.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.win32-set-service-status-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   Hiçbir değer dönmez.
  </p>
  <p class="para">
    1.0.0 öncesinde, Başarı durumunda <strong><code><a href="win32service.constants.php#constant.win32-no-error">WIN32_NO_ERROR</a></code></strong>, başarısızlık durumunda bağımsız değişkenlerle
ilgili bir sorun varsa veya bir <a href="win32service.constants.php#win32service.constants.errors" class="link">Win32 Hata Kodu</a> sözkonusuysa
<strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> döner.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-function.win32-set-service-status-errors">
  <h3 class="title">Hatalar/İstisnalar</h3>
  <p class="para">
   1.0.0 öncesinde, SAPI <code class="literal">&quot;cli&quot;</code> değilse, bu işlev
   <strong><code><a href="errorfunc.constants.php#constant.e-error">E_ERROR</a></code></strong> seviyesinde bir hata çıktılardı.
  </p>
  <p class="para">
   1.0.0 ve sonrasında, SAPI <code class="literal">&quot;cli&quot;</code> değilse, bu işlev
   <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span> yavruluyor.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.win32-set-service-status-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Sürüm: </th>
       <th>Açıklama</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Bağımsız değişkenlerdeki veri geçersiz ise artık
        <span class="classname"><a href="class.valueerror.php" class="classname">ValueError</a></span> yavrulanıyor,
        evvelce <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> dönerdi.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Hata durumunda artık <span class="classname"><a href="class.win32serviceexception.php" class="classname">Win32ServiceException</a></span>
        yavrulanıyor, evvelce bir <a href="win32service.constants.php#win32service.constants.errors" class="link">Win32 Hata Kodu</a> dönerdi.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 1.0.0</td>
       <td>
        Dönüş türü artık <span class="type"><span class="type"><a href="language.types.void.php" class="type void">void</a></span></span>, evvelce <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> idi.
       </td>
      </tr>

      <tr>
       <td>PECL win32service 0.2.0</td>
       <td>
        Bu işlev sadece <code class="literal">&quot;cli&quot;</code> SAPI ile çalışır.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.win32-set-service-status-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.win32-start-service-ctrl-dispatcher.php" class="function" rel="rdfs-seeAlso">win32_start_service_ctrl_dispatcher()</a> - Hizmet y&ouml;neticisine ismi belirtilen hizmet gibi davranacak bir
  betik tanıtır</span></li>
  <li><span class="function"><a href="function.win32-get-last-control-message.php" class="function" rel="rdfs-seeAlso">win32_get_last_control_message()</a> - Hizmete g&ouml;nderilmiş son denetim kodunu d&ouml;nd&uuml;r&uuml;r</span></li>
  <li><span class="function"><a href="function.win32-set-service-exit-mode.php" class="function" rel="rdfs-seeAlso">win32_set_service_exit_mode()</a> - Define or return the exit mode for the current running service</span></li>
  <li><span class="function"><a href="function.win32-set-service-exit-code.php" class="function" rel="rdfs-seeAlso">win32_set_service_exit_code()</a> - Define or return the exit code for the current running service</span></li>
  <li><a href="win32service.constants.php#win32service.constants.servicestatus" class="link">Win32Service
  Hizmet Durum Sabitleri</a></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>