Macer,
Actually according to the MSDN library it's applicable to NT4.0 SP4 or later with Terminal Services.
Roger
>Thanks,
>
>Unfortunately for me, it looks like this is only applicable to Win2K though.
>
>
>>Macer,
>>
>>The following is from the winuser.h header file.
>>
>>#if(WINVER >= 0x0500)
>>#define SM_REMOTESESSION 0x1000
>>#endif /* WINVER >= 0x0500 */
>>
>>
>>HTH
>>Neil