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.
Boolean IsUsingWindowsSessionID(pDevMode As Long)
Only used on Windows Server systems.
Input value - handle 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.