/hudson-core/src/main/java/hudson/util/jna/WINBASE.java
http://github.com/hudson/hudson · Java · 49 lines · 14 code · 3 blank · 32 comment · 0 complexity · 5db18bf0c38aefac0255adefd19f37fa MD5 · raw file
- /*
- Copyright (c) 2007 Thomas Boerkel, All Rights Reserved
- Disclaimer:
- ===========
- This code is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
- This code is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
- */
- package hudson.util.jna;
- import com.sun.jna.Structure;
- import com.sun.jna.Pointer;
- /**
- *
- * @author TB
- */
- public interface WINBASE {
- /*
- typedef struct _SECURITY_ATTRIBUTES {
- DWORD nLength;
- LPVOID lpSecurityDescriptor;
- BOOL bInheritHandle;
- } SECURITY_ATTRIBUTES,
- *PSECURITY_ATTRIBUTES,
- *LPSECURITY_ATTRIBUTES;*/
- public static class SECURITY_ATTRIBUTES extends Structure {
- public int nLength;
- public Pointer lpSecurityDescriptor;
- public boolean bInheritHandle;
- }
- /*
- typedef struct _FILETIME {
- DWORD dwLowDateTime;
- DWORD dwHighDateTime;
- } FILETIME, *PFILETIME, *LPFILETIME;*/
- public static class FILETIME extends Structure {
- public int dwLowDateTime;
- public int dwHighDateTime;
- }
- }