Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//=================================================================
//
// NtDevToSvcSearch.h
//
// Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
//
//=================================================================
#ifndef __NTDEVTOSVCSEARCH_H__
#define __NTDEVTOSVCSEARCH_H__
#define DEVTOSVC_BASEKEYPATH _T("HARDWARE\\RESOURCEMAP")
#define RAWVALUENAME_FMAT _T("\\Device\\%s.Raw")
#define TRANSLATEDVALUENAME_FMAT _T("\\Device\\%s.Translated")
class CNTDeviceToServiceSearch : public CRegistrySearch {
public:
//Construction/Destruction
CNTDeviceToServiceSearch(); ~CNTDeviceToServiceSearch();
// Single method for finding an NT service name based off of a device name
BOOL Find( LPCTSTR pszDeviceName, CHString& strServiceName ); };
#endif
|