mirror of https://github.com/lianthony/NT4.0
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.
57 lines
1.1 KiB
57 lines
1.1 KiB
/*++
|
|
|
|
Copyright (c) 1991 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
DispVer.c
|
|
|
|
Abstract:
|
|
|
|
This module contains NetpDbgDisplayLanManVersion().
|
|
|
|
Author:
|
|
|
|
John Rogers (JohnRo) 25-Jul-1991
|
|
|
|
Environment:
|
|
|
|
Portable to any flat, 32-bit environment. (Uses Win32 typedefs.)
|
|
Requires ANSI C extensions: slash-slash comments, long external names.
|
|
|
|
Revision History:
|
|
|
|
25-Jul-1991 JohnRo
|
|
Wksta debug support.
|
|
18-Aug-1991 JohnRo
|
|
PC-LINT found a portability problem.
|
|
|
|
--*/
|
|
|
|
#if DBG
|
|
|
|
// These must be included first:
|
|
|
|
#include <windef.h> // IN, DWORD, etc.
|
|
#include <lmcons.h> // NET_API_STATUS.
|
|
|
|
// These may be included in any order:
|
|
|
|
#include <netdebug.h> // NetpDbgDisplay routines, FORMAT_ equates.
|
|
#include <lmserver.h> // MAJOR_VERSION_MASK equate.
|
|
|
|
|
|
VOID
|
|
NetpDbgDisplayLanManVersion(
|
|
IN DWORD MajorVersion,
|
|
IN DWORD MinorVersion
|
|
)
|
|
{
|
|
NetpDbgDisplayTag( "LanMan version" );
|
|
NetpKdPrint((FORMAT_DWORD "." FORMAT_DWORD "\n",
|
|
(DWORD) (MajorVersion & (MAJOR_VERSION_MASK)),
|
|
(DWORD) (MinorVersion) ));
|
|
|
|
} // NetpDbgDisplayLanManVersion
|
|
|
|
#endif // DBG
|