IsUsingWindowSessionID

 

#include “BlackIceDEVMODE.h”

 

BOOL IsUsingWindowsSessionID(BlackIceDEVMODE* pBlackIceDevMode)

Description

If this function returns TRUE, the driver will use the current user’s Windows session ID as the messaging interface session ID and the value set using the SetSessionID function is ignored. Returns FALSE if it uses the value manually specified using the SetSessionID function.

The session ID will be used in the message interface name on terminal servers. For example \\.\pipe\ColorMessageInterface2. The 2 is the used session ID.

Parameters

Input value    - pointer to the BlackIceDEVMODE structure

Return value

TRUE if the driver uses the current user’s Windows session ID as the messaging interface session ID, FALSE if it uses the value manually specified using the SetSessionID function.

Programming Notes

Only used on Windows Server Systems.

Code Example

None