44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
compile insert msWin_Security_Attributes_Equates
|
|
/*
|
|
** Copyright (C) 1992-2020 Revelation Software Inc. All Rights Reserved **
|
|
|
|
Author Captain C
|
|
Date April 2012
|
|
Purpose Equates for use with the Windows API Security Attributes structure
|
|
|
|
Amended Date Reason
|
|
======= ==== ======
|
|
Mr C 06 Apr 20 Updated to reference DLLSTRUCT entities
|
|
*/
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _MSWIN_SECURITY_ATTRIBUTES_EQUATES_
|
|
#define _MSWIN_SECURITY_ATTRIBUTES_EQUATES_
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
$uses @APPID*DLLSTRUCT**MSWIN_SECURITY_ATTRIBUTES
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
* // PROCESS_INFORMATION structure equates
|
|
* //
|
|
* // typedef struct _SECURITY_ATTRIBUTES {
|
|
* // DWORD nLength;
|
|
* // LPVOID lpSecurityDescriptor;
|
|
* // BOOL bInheritHandle;
|
|
* // } SECURITY_ATTRIBUTES
|
|
|
|
equ SECURITY_ATTRIBUTES$ to "MSWIN_SECURITY_ATTRIBUTES"
|
|
|
|
equ SA_POS_NLENGTH$ to 1
|
|
equ SA_POS_LPSECURITYDESCRIPTOR$ to 2
|
|
equ SA_POS_BINHERITHANDLE$ to 3
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#endif
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////////////////
|