Welcome to mirror list, hosted at ThFree Co, Russian Federation.

shortcut.h « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 447e320b4a475fa1fd6ff054e37e3b5ca793380d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* shortcut.h: Header file for shortcut.c

   Copyright 2001 Red Hat, Inc.

This file is part of Cygwin.

This software is a copyrighted work licensed under the terms of the
Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
details. */

#ifdef __cplusplus
extern "C" {
#endif

/* The header written to a shortcut by Cygwin or U/WIN. */
#define SHORTCUT_HDR_SIZE	76

extern char shortcut_header[];
extern BOOL shortcut_initalized;

extern void create_shortcut_header ();

int check_shortcut (const char *path, DWORD fileattr, HANDLE h,
		    char *contents, int *error, unsigned *pflags);

#ifdef __cplusplus
};
#endif