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.
62 lines
1.0 KiB
62 lines
1.0 KiB
/**********************************************************************/
|
|
/** Microsoft LAN Manager **/
|
|
/** Copyright(c) Microsoft Corp., 1990, 1991 **/
|
|
/**********************************************************************/
|
|
|
|
/*
|
|
pfilenm.c
|
|
Portable way to get path name of help/message files
|
|
|
|
FILE HISTORY:
|
|
danhi 06-Jun-1991 Created
|
|
|
|
*/
|
|
|
|
#include <os2.h>
|
|
#include <netlib.h>
|
|
#include "port1632.h"
|
|
|
|
//
|
|
// Get the help file name
|
|
//
|
|
|
|
USHORT
|
|
MGetHelpFileName(
|
|
CHAR FAR * HelpFileName,
|
|
USHORT BufferLength
|
|
)
|
|
{
|
|
|
|
return(NetIMakeLMFileName("NET.HLP", HelpFileName, BufferLength));
|
|
|
|
}
|
|
|
|
//
|
|
// Get the explanation file name (used by net helpmsg)
|
|
//
|
|
|
|
USHORT
|
|
MGetExplanationFileName(
|
|
CHAR FAR * ExplanationFileName,
|
|
USHORT BufferLength
|
|
)
|
|
{
|
|
|
|
return(NetIMakeLMFileName("NETH.MSG", ExplanationFileName, BufferLength));
|
|
|
|
}
|
|
|
|
//
|
|
// Get the message file name
|
|
//
|
|
|
|
USHORT
|
|
MGetMessageFileName(
|
|
CHAR FAR * MessageFileName,
|
|
USHORT BufferLength
|
|
)
|
|
{
|
|
|
|
return(NetIMakeLMFileName("NET.MSG", MessageFileName, BufferLength));
|
|
|
|
}
|