windows-nt/Source/XPSP1/NT/inetsrv/query/h/cisvcex.hxx

44 lines
1.2 KiB
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1999.
//
// File: cisvcex.hxx
//
//--------------------------------------------------------------------------
#pragma once
#define wcsCiSvcName L"CiSvc"
#include <notifary.hxx>
extern "C"
{
enum ECiSvcActionType
{
eNetPause,
eNetContinue,
eNetStop,
// active types for an individual catalog
eCatRO, // set catalog read-only
eCatW, // set catalog writable
eStopCat, // stop a catalog
eNoQuery, // stop listen to clients
// operations on a volume
eLockVol, // a volume being locked
eUnLockVol,
// other
eNoCatWork
};
SCODE StopCiSvcWork( ECiSvcActionType type, WCHAR wcVol = 0 );
void StartCiSvcWork( CDrvNotifArray & pDrvNotifArray );
void CiSvcMain( DWORD dwNumServiceArgs,
LPWSTR * awcsServiceArgs );
void SvcEntry_CiSvc( DWORD NumArgs,
LPWSTR * ArgsArray,
void * pSvcsGlobalData,
HANDLE SvcRefHandle );
}