VSNDK.DebugEngine.AD7ModuleLoadEvent.IDebugModuleLoadEvent2 C# (CSharp) Method

IDebugModuleLoadEvent2() private method

Gets the module that is being loaded or unloaded. (http://msdn.microsoft.com/en-ca/library/bb161763.aspx)
private IDebugModuleLoadEvent2 ( IDebugModule2 &module, string &debugMessage, int &fIsLoad ) : int
module IDebugModule2 Returns an IDebugModule2 object that represents the module which is loading or unloading.
debugMessage string Returns an optional message describing this event. If this parameter is a null value, no message /// is requested.
fIsLoad int Nonzero (TRUE) if the module is loading and zero (FALSE) if the module is unloading. If this /// parameter is a null value, no status is requested.
return int
        int IDebugModuleLoadEvent2.GetModule(out IDebugModule2 module, ref string debugMessage, ref int fIsLoad)
        {
            module = m_module;

            if (m_fLoad)
            {
                fIsLoad = 1;
            }
            else
            {
                fIsLoad = 0;
            }

            return VSConstants.S_OK;
        }