IVsLibrary.GetGuid(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a pointer to the GUID of the library.
public:
int GetGuid([Runtime::InteropServices::Out] Guid % ppguidLib);
public int GetGuid (out Guid ppguidLib);
abstract member GetGuid : Guid -> int
Public Function GetGuid (ByRef ppguidLib As Guid) As Integer
Parameters
- ppguidLib
- Guid
[out] Pointer to the GUID of the current library.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsLibrary::GetGuid(
const GUID **ppguidLib
);
This method returns the GUID identifying the current library. Put the library GUID into the code that implements this method.