Provider::GetLocalInstancePath method

[The Provider class is part of the WMI Provider Framework, which is no longer available for use as of Windows Vista. Instead, see Using WMI for the preferred ways to write a WMI COM provider or a WMI provider that uses the .NET Framework System.Management namespaces.]

The GetLocalInstancePath method attempts to build a full object path to a specified instance. This method is a helper function and should not be overridden.

Syntax


bool GetLocalInstancePath(
  [in]        const CInstance *pInstance,
  [out, ref]  CHString &strPath
);

Parameters

pInstance [in]

Pointer to the instance for which the path should be built.

strPath [out, ref]

Full object path, complete from the computer name to the key value.

Return value

Returns TRUE if the operation was successful and FALSE if the operation was unsuccessful.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of client support

None supported

End of server support

Windows Server 2003

Header

Provider.h (include FwCommon.h)

Library

Framedyn.lib

DLL

Framedyn.dll

 

 

Show:
© 2014 Microsoft