File D:\maven-qcr-plugin-testsunitaires\qcr4java\jenkins-master\target\site\qc\core\src\main\java\hudson\util\jna\WINBASE.java.html

1 /*
2 Copyright (c) 2007 Thomas Boerkel, All Rights Reserved
3
4 Disclaimer:
5 ===========
6 This code is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
11 This code is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
15 */
16 package hudson.util.jna;
17
18 import com.sun.jna.Structure;
19 import com.sun.jna.Pointer;
20
21 /**
22 *
23 * @author TB
24 */
25 public interface WINBASE {
26 /*
27 typedef struct _SECURITY_ATTRIBUTES {
28 DWORD nLength;
29 LPVOID lpSecurityDescriptor;
30 BOOL bInheritHandle;
31 } SECURITY_ATTRIBUTES,
32 *PSECURITY_ATTRIBUTES,
33 *LPSECURITY_ATTRIBUTES;*/
34 class SECURITY_ATTRIBUTES extends Structure {
35 public int nLength;
36 public Pointer lpSecurityDescriptor;
37 public boolean bInheritHandle;
38 }
39
40 /*
41 typedef struct _FILETIME {
42 DWORD dwLowDateTime;
43 DWORD dwHighDateTime;
44 } FILETIME, *PFILETIME, *LPFILETIME;*/
45 class FILETIME extends Structure {
46 public int dwLowDateTime;
47 public int dwHighDateTime;
48 }
49 }