SetUseWindowsSessionID

#include “BlackIceDEVMODE.h”

 

BOOL SetUseWindowsSessionID(BlackIceDEVMODE* pBlackIceDevMode, BOOL bEnable)

Description

If this value is set to 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. If this value is set to FALSE, the Session ID can be specified manually using the SetSessionID function.

Parameters

BlackIceDEVMODE* pBlackIceDevMode           - pointer to the BlackIceDEVMODE structure

BOOL bEnable                                             - Set to TRUE to use the Windows session ID, set to FALSE to specify the SessionID manually.

Return value

TRUE on success, otherwise FALSE

Programming Notes

Only used on Windows Server systems.

Code Example

None