summaryrefslogtreecommitdiffstats
path: root/private/net/svcdlls/rpl/rplinst/treei.h
blob: 3489cd75941833d71484d491bff98f4f2430d76c (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*++

Copyright (c) 1993  Microsoft Corporation

Module Name:

    tree.h

Abstract:

    Internal definitions from tree.c

Author:

    Jon Newman      (jonn)       16 - February - 1994

Revision History:

    Jon Newman      (jonn)                  16 - February - 1994
        Added RplGrant*Perms primitives

--*/

typedef DWORD (RPL_TREE_CALLBACK)( PWCHAR pszPath, PVOID * ppv);

#define RPL_TREE_COPY_DACL          0x1    // not yet implemented
#define RPL_TREE_COPY_SACL          0x2    // not yet implemented
#define RPL_TREE_AUXILIARY          0x2000 // perform callback action
#define RPL_TREE_COPY               0x4000
#define RPL_TREE_DELETE             0x8000

//
// Forward declarations
//

DWORD RplDoTree(
    PWCHAR      Source,
    PWCHAR      Target,
    DWORD       Flags,
    PWCHAR      Buffer,
    DWORD       BufferSize,
    RPL_TREE_CALLBACK AuxiliaryCallback,
    PVOID       AuxiliaryBlock
    );

VOID LoadError(
    PWCHAR      FilePath,
    LPVOID      Buffer,
    DWORD       BufferSize
    );