Provider::GetLocalInstancePath method (provider.h)

[The Provider class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

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

[in] pInstance

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

[out, ref] strPath

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

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header provider.h (include FwCommon.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll