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.
|
|
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997.
//
// File: C F U T I L S . H
//
// Contents: Various utility functions for the connections folder
//
// Notes:
//
// Author: jeffspr 20 Jan 1998
//
//----------------------------------------------------------------------------
#pragma once
#ifndef _CFUTILS_H_
#define _CFUTILS_H_
VOID MapNCMToResourceId( IN NETCON_MEDIATYPE ncm, IN DWORD dwCharacteristics, OUT INT * piStringRes) throw();
#define CONFOLD_MAX_STATUS_LENGTH 255
VOID MapNCSToComplexStatus( IN NETCON_STATUS ncs, IN NETCON_MEDIATYPE ncm, IN NETCON_SUBMEDIATYPE ncsm, IN DWORD dwCharacteristics, OUT LPWSTR pszString, IN DWORD cString, IN GUID gdDevice) throw();
VOID MapNCSToStatusResourceId( IN NETCON_STATUS ncs, IN NETCON_MEDIATYPE ncm, IN NETCON_SUBMEDIATYPE ncsm, IN DWORD dwCharacteristics, OUT INT * piStringRes, IN GUID gdDevice) throw();
DWORD MapRSSIToWirelessSignalStrength(IN int iRSSI) throw();
PCWSTR PszGetRSSIString(IN int iRSSI) throw();
PCWSTR PszGetOwnerStringFromCharacteristics( IN PCWSTR pszUserName, IN DWORD dwCharacteristics) throw();
BOOL IsMediaLocalType( IN NETCON_MEDIATYPE ncm) throw();
BOOL IsMediaRASType( IN NETCON_MEDIATYPE ncm) throw();
BOOL IsMediaSharedAccessHostType( IN NETCON_MEDIATYPE ncm) throw();
#endif // _CFUTILS_H_
|