
    %
il                         d dl Z ddZd ZdS )    Nc                     |t           j        t           j        z  }|t           j        }g }| D ]N}|d         dvrBt          j        |          }t          j        ||||          }|                    ||f           O|S )zGiven a list of CLSID, create and register class factories.

    Returns a list, which should be passed to RevokeClassFactories
    Nr   )-/)	pythoncomREGCLS_MULTIPLEUSEREGCLS_SUSPENDEDCLSCTX_LOCAL_SERVERMakePyFactoryCoRegisterClassObjectappend)clsidsflagsclsctxretclsidfactoryregIds          C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\win32com/server/factory.pyRegisterClassFactoriesr      s    
 },y/II~.
C ) )8:%%-e44G3E7FERREJJ'(((J    c                 >    | D ]\  }}t          j        |           d S )N)r   CoRevokeClassObject)infosr   revokeIds      r   RevokeClassFactoriesr      s4    " 0 0%h////0 0r   )NN)r   r   r    r   r   <module>r      s>          &0 0 0 0 0r   