home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
LSW270SR.ZIP
/
resource
/
lswres.c
< prev
next >
Wrap
Text File
|
2004-02-07
|
1KB
|
26 lines
/*
* Copyright (C) 1997-2004 Andrei Los.
* This file is part of the lSwitcher source package.
* lSwitcher is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, in version 2 as it comes in the
* "COPYING" file of the lSwitcher main distribution.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "lswitch.h"
#include "lswres.h"
APIENTRY QueryResourceVersion(UCHAR *NameString,USHORT usLen)
{ USHORT k;
for (k=0; LANGUAGESTR[k]!='\0' && k<usLen-1; k++)
NameString[k]=LANGUAGESTR[k];
NameString[k] = '\0';
return MAKEULONG(MAKEUSHORT(VERSIONMAJOR,VERSIONMINOR),MAKEUSHORT(REVISION,LANGUAGE));
}