1 #ifndef RUBY_WIN32_FILE_H 2 #define RUBY_WIN32_FILE_H 4 #define MAX_REPARSE_PATH_LEN 4092 22 } SymbolicLinkReparseBuffer;
24 USHORT SubstituteNameOffset;
25 USHORT SubstituteNameLength;
26 USHORT PrintNameOffset;
27 USHORT PrintNameLength;
29 } MountPointReparseBuffer;
33 #define rb_w32_reparse_buffer_size(n) \ 34 (sizeof(rb_w32_reparse_buffer_t) + \ 35 sizeof(WCHAR)*((n)-MINIMUM_REPARSE_BUFFER_PATH_LEN)) 38 size_t bufsize, WCHAR **result,
DWORD *
len);
40 int lchown(
const char *path,
int owner,
int group);
42 int fchmod(
int fd,
int mode);
int rb_w32_read_reparse_point(const WCHAR *path, rb_w32_reparse_buffer_t *rp, size_t bufsize, WCHAR **result, DWORD *len)
int lchown(const char *path, int owner, int group)
int rb_w32_ulchown(const char *path, int owner, int group)
WCHAR * rb_w32_home_dir(void)
USHORT SubstituteNameLength
register unsigned int len
int fchmod(int fd, int mode)
USHORT SubstituteNameOffset