HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/opt/nydus/ops/oscrypto/_win/__pycache__/_kernel32.cpython-39.pyc
a

�,�h&�@s|ddlmZmZmZmZddlmZddlmZddl	m
Z
e�dkrXddlmZm
Z
nddlmZm
Z
d	d
gZdd	�ZdS)
�)�unicode_literals�division�absolute_import�print_function�)�ffi�)�_try_decode)�str_clsZcffi)�kernel32�	get_error�handle_errorrcCs0|rdSt�\}}t|t�s$t|�}t|��dS)z�
    Extracts the last Windows error message into a python unicode string

    :param result:
        A function result, 0 or None indicates failure

    :return:
        A unicode string error message
    N)r�
isinstancer
r	�OSError)�result�_Zerror_string�r�H/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/oscrypto/_win/_kernel32.pyr
s

N)�
__future__rrrr�r�_decoder	�_typesr
Z_kernel32_cffirrZ_kernel32_ctypes�__all__r
rrrr�<module>s
�