Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Gets the module that is being loaded or unloaded.
HRESULT GetModule(
IDebugModule2** pModule,
BSTR* pbstrDebugMessage,
BOOL* pbLoad
);
int GetModule(
out IDebugModule2 pModule,
ref string pbstrDebugMessage,
ref int pbLoad
);
pModule
[out] Returns an IDebugModule2 object that represents the module which is loading or unloading.
pbstrDebugMessage
[in, out] Returns an optional message describing this event. If this parameter is a null value, no message is requested.
pbLoad
[in, out] 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.
If successful, returns S_OK
; otherwise, returns an error code.