[python-win32] (no subject)

Michel Claveau mc at mclaveau.com
Sun Nov 6 13:33:41 CET 2011


Hi!

In win32con, I do not found this constant:  FILE_ATTRIBUTE_REPARSE_POINT = 1024  # 0x400

Exemple of use:
    import ctypes
    rep=u"C:\\web\\fichiers"
    FILE_ATTRIBUTE_REPARSE_POINT = 1024  # 0x400
    vret = ctypes.windll.kernel32.GetFileAttributesW(rep)
    if vret & FILE_ATTRIBUTE_REPARSE_POINT:
        print "JUNCTION"
    else:
        print "REPertoire"


is it possible to add it (in next version of) Pywin32?

@-salutations
-- 
Michel Claveau 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20111106/bc577f12/attachment.html>


More information about the python-win32 mailing list