### Class AXScriptPolicy

## SYNOPSIS

    import win32com.axscript.client.axspolicy

    class AXScriptPolicy(DesignatedWrapPolicy)
      def _CreateInstance_(self, clsid, reqIID)

      # Methods inherited by AXScriptPolicy from MappedWrapPolicy
      def _getidsofnames_(self, names, lcid)

      # Methods inherited by AXScriptPolicy from DesignatedWrapPolicy
      def _invoke_(self, dispid, lcid, wFlags, args)
      def _wrap_(self, ob)

      # Methods inherited by AXScriptPolicy from BasicWrapPolicy
      def _GetIDsOfNames_(self, names, lcid)
      def _Invoke_(self, dispid, lcid, wFlags, args)
      def _QueryInterface_(self, iid)
      def __init__(self, object)
      def _query_interface_(self, iid)

## DESCRIPTION

### def _GetIDsOfNames_(self, names, lcid)

The main COM entry-point for GetIDsOfNames.

This checks the validity of the arguments, and calls the _getidsofnames_ helper.

### def _Invoke_(self, dispid, lcid, wFlags, args)

The main COM entry-point for Invoke.

This calls the _invoke_ helper.

### def _QueryInterface_(self, iid)

The main COM entry-point for QueryInterface.

This checks the _com_interfaces_ attribute and if the interface is not specified there, it calls the derived helper _query_interface_

### def __init__(self, object)

Initialise the policy object

Params:

object
  The object to wrap. May be None iff BasicWrapPolicy._CreateInstance_ will be called immediately after this to setup a brand new object

### def _query_interface_(self, iid)

Called if the object does not provide the requested interface in _com_interfaces, and does not provide a _query_interface_ handler.

Returns a result to the COM framework indicating the interface is not supported.

## SEE ALSO

win32com.axscript.client.axspolicy

win32com.server.policy

Copyright © Greg Stein, Mark Hammond, Curt Hagenlocher and a few other contributors
All Rights Reserved
Comments to author:
Generated: Sun Apr 20 1997