Windows.cfg: add UNREFERENCED_PARAMETER() macro (#3809)

This commit is contained in:
chrchr-github 2022-02-08 11:50:28 +01:00 committed by GitHub
parent 20a5224d7e
commit 966dbb1990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -17882,4 +17882,8 @@ HFONT CreateFont(
<define name="TYPE_E_CANTLOADLIBRARY" value="0x80029C4A"/> <define name="TYPE_E_CANTLOADLIBRARY" value="0x80029C4A"/>
<define name="TYPE_E_INCONSISTENTPROPFUNCS" value="0x80029C83"/> <define name="TYPE_E_INCONSISTENTPROPFUNCS" value="0x80029C83"/>
<define name="TYPE_E_CIRCULARTYPE" value="0x80029C84"/> <define name="TYPE_E_CIRCULARTYPE" value="0x80029C84"/>
<!-- winnt.h -->
<define name="UNREFERENCED_PARAMETER(P)" value="((void)(P))"/>
<define name="DBG_UNREFERENCED_PARAMETER(P)" value="((void)(P))"/>
<define name="DBG_UNREFERENCED_LOCAL_VARIABLE(P)" value="((void)(P))"/>
</def> </def>

View File

@ -769,6 +769,10 @@ void uninitvar()
_fileno(pFileUninit); _fileno(pFileUninit);
} }
void unreferencedParameter(int i) {
UNREFERENCED_PARAMETER(i);
}
void errorPrintf() void errorPrintf()
{ {
char bufC[50]; char bufC[50];