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.
53 lines
1.2 KiB
53 lines
1.2 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1998.
|
|
//
|
|
// File: S M U T I L . H
|
|
//
|
|
// Contents: Utility functions to help out the status monitor
|
|
//
|
|
// Notes:
|
|
//
|
|
// Author: CWill 2 Dec 1997
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "netcon.h"
|
|
|
|
BOOL
|
|
FIsStringInList(
|
|
list<tstring*>* plstpstrList,
|
|
const WCHAR* szString);
|
|
|
|
HRESULT
|
|
HrGetPcpFromPnse(
|
|
INetStatisticsEngine* pnseSrc,
|
|
IConnectionPoint** ppcpStatEng);
|
|
|
|
INT
|
|
IGetCurrentConnectionTrayIconId(
|
|
NETCON_MEDIATYPE ncmType,
|
|
NETCON_STATUS ncsStatus,
|
|
DWORD dwChangeFlags);
|
|
|
|
HICON
|
|
GetCurrentConnectionStatusIconId(
|
|
NETCON_MEDIATYPE ncmType,
|
|
NETCON_SUBMEDIATYPE ncsmType,
|
|
DWORD dwCharacteristics,
|
|
DWORD dwChangeFlags);
|
|
|
|
INT
|
|
FormatTransmittingReceivingSpeed(
|
|
UINT64 nTransmitSpeed,
|
|
UINT64 nRecieveSpeed,
|
|
WCHAR* pchBuf);
|
|
|
|
VOID
|
|
FormatTimeDuration(
|
|
UINT uiMilliseconds,
|
|
tstring* pstrOut);
|
|
|