Is there a way to tell the compiler not to warn us with a XS0219: The variable 'nLen' is assigned but its value is never used when the variable is actually used in a function requiring an OUT parameter ?
enven if we don't use the variable, we still need it ie:
Code: Select all
WTSQuerySessionInformation( WTS_CURRENT_SERVER_HANDLE, WTS_CURRENT_SESSION, WTSClientAddress, OUT pBuffer, OUT nLen )