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.
The GetInstanceGuid method retrieves the instance GUID of a network component.
Syntax
HRESULT GetInstanceGuid(
[out] GUID *pGuid
);
Parameters
- pGuid [out]
Pointer to a 32-bit variable that receives a GUID for the instance GUID of a network component.
Return value
Returns zero (S_OK) if successful; otherwise, returns NETCFG_* codes that are defined in Netcfgx.h. If the pGuid parameter is NULL, GetInstanceGuid returns E_POINTER.
Remarks
The instance GUID of a network component represents the component in the registry.
Requirements
Target platform |
Desktop |
Header |
Netcfgx.h (include Netcfgx.h) |