Skip to content

Latest commit

 

History

History
77 lines (39 loc) · 1.63 KB

PyIContext.md

File metadata and controls

77 lines (39 loc) · 1.63 KB

PyIContext

PyIContext Object

Allows access to properties defined for the current context (Requires win2k or later)

Methods

PyIContext.EnumContextProps

PyIEnumContextProps = EnumContextProps() Returns an enumerator for the context properties

PyIContext.GetProperty

(int, PyIUnknown) = GetProperty(rGuid) Retrieves a context property

Parameters

  • rGuid : PyIID

    GUID that identifies a context property

Return Value

Returns flags (CPFLAGS is reserved, no defined values) and the IUnknown interface set for the property

PyIContext.RemoveProperty

RemoveProperty(rPolicyId) Removes a property from the context

Parameters

  • rPolicyId : PyIID

    GUID that identifies a context property

PyIContext.SetProperty

SetProperty(rpolicyId, flags, pUnk) Sets a property on the context

Parameters

  • rpolicyId : PyIID

    GUID identifying the property to be set

  • flags : int

    Reserved, use only 0

  • pUnk : PyIUnknown

    The property value