o
    Žõ±jÇ  ã                   @   s&   d dl mZmZmZ G dd„ dƒZdS )é    )ÚOpenProcessÚCloseHandleÚGetCurrentProcessIdc                   @   s8   e Zd Zdd„ Zedd„ ƒZedd„ ƒZedd„ ƒZd	S )
ÚKERNEL32c                 C   s   d S ©N© )Úselfr   r   ú™/root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/pypykatz/commons/winapi/local/kernel32.pyÚ__init__   s   zKERNEL32.__init__c                 C   s   t | ||ƒS r   )r   )ÚdwDesiredAccessÚbInheritHandleÚdwProcessIdr   r   r	   r      ó   zKERNEL32.OpenProcessc                 C   s   t | ƒ d S r   )r   )Ú
any_handler   r   r	   r      r   zKERNEL32.CloseHandlec                   C   s   t ƒ S r   )r   r   r   r   r	   r      s   zKERNEL32.GetCurrentProcessIdN)Ú__name__Ú
__module__Ú__qualname__r
   Ústaticmethodr   r   r   r   r   r   r	   r      s    

r   N)Ú4pypykatz.commons.winapi.local.function_defs.kernel32r   r   r   r   r   r   r   r	   Ú<module>   s    