Home COM GDI+ WebBrowser Data Access

IPerPropertyBrowsing Interface

 

IID_IPerPropertyBrowsing

{376BD3AA-3845-101B-84ED-08002B2EC713}

 

 

The IPerPropertyBrowsing interface accesses the information in the property pages offered by an object.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IPerPropertyBrowsing Methods

Description

GetDipslayString

Returns a text string describing the specified property.

MapPropertyToPage

Returns the CLSID of the property page that allows manipulation of the specified property.

GetPredefinedStrings

Returns a counted array of strings (LPOLESTR pointers) listing the descriptions of the allowable values that the specified property can accept (i.e., the values returned from GetPredefinedValue.

GetPredefinedValue

Returns a VARIANT containing the value of a property identified with dispID that is associated with a predefined string name as returned from GetPredefinedStrings.

 

GetDisplayString

 

FUNCTION IPerPropertyBrowsing_GetDisplayString ( _

  BYVAL pthis AS DWORD PTR _

, BYVAL dispID AS LONG _

, BYREF pbstr AS STRING _

  ) AS LONG
 

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IPerPropertyBrowsing_GetDisplayString (pthis, dispID, pbstr) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

MapPropertyToPage

 

FUNCTION IPerPropertyBrowsing_MapPropertyToPage ( _

  BYVAL pthis AS DWORD PTR _

, BYVAL dispID AS LONG _

, BYREF pClsid AS GUID _

  ) AS LONG
 

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IPerPropertyBrowsing_MapPropertyToPage(pthis, dispID, pClsid) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

GetPredefinedStrings

 

FUNCTION IPerPropertyBrowsing_GetPredefinedStrings ( _

  BYVAL pthis AS DWORD PTR _

, BYVAL dispID AS LONG _

, BYREF pCaStringsOut AS CALPOLESTR _

, BYREF pCaCookiesOut AS CADWORD _

  ) AS LONG
 

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IPerPropertyBrowsing_GetPredefinedStrings (pthis, dispID, pCaStringsOut, pCaCookiesOut) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

GetPredefinedValue

 

FUNCTION IPerPropertyBrowsing_GetPredefinedValue ( _

  BYVAL pthis AS DWORD PTR _

, BYVAL dispID AS LONG _

, BYVAL dwCookie AS DWORD _

, BYREF pVarOut AS VARIANT _

  ) AS LONG
 

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[6] USING IPerPropertyBrowsing_GetPredefinedValue(pthis, dispID, dwCookie, pVarOut) TO HRESULT
  FUNCTION = HRESULT


END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:26:15 +0200