共用方式為


IDebugProperty2::GetPropertyInfo

Gets the DEBUG_PROPERTY_INFO structure that describes a property.

HRESULT GetPropertyInfo ( 
   DEBUGPROP_INFO_FLAGS dwFields,
   DWORD                nRadix,
   DWORD                dwTimeout,
   IDebugReference2**   rgpArgs,
   DWORD                dwArgCount,
   DEBUG_PROPERTY_INFO* pPropertyInfo
);
int GetPropertyInfo ( 
   enum_DEBUGPROP_INFO_FLAGS dwFields,
   uint                      nRadix,
   uint                      dwTimeout,
   IDebugReference2[]        rgpArgs,
   uint                      dwArgCount,
   DEBUG_PROPERTY_INFO[]     pPropertyInfo
);

Parameters

  • dwFields
    [in] A combination of values from the DEBUGPROP_INFO_FLAGS enumeration that specifies which fields are to be filled out in the pPropertyInfo structure.

  • nRadix
    [in] Radix to be used in formatting any numerical information.

  • dwTimeout
    [in] Specifies the maximum time, in milliseconds, to wait before returning from this method. Use INFINITE to wait indefinitely.

  • rgpArgs
    [in, out] Reserved for future use; set to a null value.

  • dwArgCount
    [in] Reserved for future use; set to zero.

  • pPropertyInfo
    [out] A DEBUG_PROPERTY_INFO structure that is filled in with the description of the property.

Return Value

If successful, returns S_OK; otherwise returns error code.

See Also

Reference

IDebugProperty2

DEBUGPROP_INFO_FLAGS

IDebugReference2

DEBUG_PROPERTY_INFO