Changeset 7925 for trunk/include


Ignore:
Timestamp:
Feb 15, 2002, 6:16:36 PM (24 years ago)
Author:
sandervl
Message:

header updates

Location:
trunk/include/win
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/objbase.h

    r7924 r7925  
    1 /* $Id: objbase.h,v 1.3 2002-02-15 17:16:25 sandervl Exp $ */
    2 
    31#ifndef __WINE_OBJBASE_H
    42#define __WINE_OBJBASE_H
  • trunk/include/win/winbase.h

    r7844 r7925  
    602602
    603603#define PIPE_UNLIMITED_INSTANCES    255
     604
     605#define NMPWAIT_WAIT_FOREVER            0xffffffff
     606#define NMPWAIT_NOWAIT                  0x00000001
     607#define NMPWAIT_USE_DEFAULT_WAIT        0x00000000
    604608
    605609#ifndef NOLOGERROR
  • trunk/include/win/windef.h

    r7844 r7925  
    1212# undef UNICODE
    1313#endif  /* __WINE__ */
     14
     15#define WINVER 0x0500
    1416
    1517#ifdef __cplusplus
     
    719721} DECIMAL;
    720722
     723#include <winbase.h>
     724
    721725#ifdef __cplusplus
    722726}
  • trunk/include/win/wine/obj_marshal.h

    r641 r7925  
    1 /* $Id: obj_marshal.h,v 1.5 1999-08-22 22:52:08 sandervl Exp $ */
    21/*
    32 * Defines the COM interfaces and APIs that allow an interface to
     
    76#ifndef __WINE_WINE_OBJ_MARSHAL_H
    87#define __WINE_WINE_OBJ_MARSHAL_H
    9 
    10 #include "wine/obj_base.h"
    11 #include "wine/obj_storage.h"
    128
    139#ifdef __cplusplus
     
    2319DEFINE_OLEGUID(IID_IStdMarshalInfo,     0x00000018L, 0, 0);
    2420typedef struct IStdMarshalInfo IStdMarshalInfo,*LPSTDMARSHALINFO;
     21
     22DEFINE_OLEGUID(CLSID_DfMarshal,         0x0000030BL, 0, 0);
    2523
    2624
     
    4240#undef ICOM_INTERFACE
    4341
    44 #ifdef ICOM_CINTERFACE
    4542/*** IUnknown methods ***/
    4643#define IMarshal_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
     
    5451#define IMarshal_ReleaseMarshalData(p,a)          ICOM_CALL1(ReleaseMarshalData,p,a)
    5552#define IMarshal_DisconnectObject(p,a)            ICOM_CALL1(DisconnectObject,p,a)
    56 #endif
    5753
    5854
     
    6965#undef ICOM_INTERFACE
    7066
    71 #ifdef ICOM_CINTERFACE
    7267/*** IUnknown methods ***/
    7368#define IStdMarshalInfo_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
     
    7671/*** IStdMarshalInfo methods ***/
    7772#define IStdMarshalInfo_GetClassForHandler(p,a,b,c) ICOM_CALL3(GetClassForHandler,p,a,b,c)
    78 #endif
    7973
    8074
  • trunk/include/win/wtypes.h

    r4834 r7925  
    198198#endif /* _FILETIME_ */
    199199
     200
     201#ifndef _SECURITY_DEFINED
     202#define _SECURITY_DEFINED
     203
     204#include "pshpack1.h"
     205
     206typedef DWORD ACCESS_MASK, *PACCESS_MASK;
     207
     208typedef struct _GENERIC_MAPPING {
     209    ACCESS_MASK GenericRead;
     210    ACCESS_MASK GenericWrite;
     211    ACCESS_MASK GenericExecute;
     212    ACCESS_MASK GenericAll;
     213} GENERIC_MAPPING, *PGENERIC_MAPPING;
     214
     215#ifndef SID_IDENTIFIER_AUTHORITY_DEFINED
     216#define SID_IDENTIFIER_AUTHORITY_DEFINED
     217typedef struct {
     218    BYTE Value[6];
     219} SID_IDENTIFIER_AUTHORITY,*PSID_IDENTIFIER_AUTHORITY,*LPSID_IDENTIFIER_AUTHORITY;
     220#endif /* !defined(SID_IDENTIFIER_AUTHORITY_DEFINED) */
     221
     222#ifndef SID_DEFINED
     223#define SID_DEFINED
     224typedef struct _SID {
     225    BYTE Revision;
     226    BYTE SubAuthorityCount;
     227    SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
     228    DWORD SubAuthority[1];
     229} SID,*PSID;
     230#endif /* !defined(SID_DEFINED) */
     231
     232#define SID_REVISION                    (1)     /* Current revision */
     233#define SID_MAX_SUB_AUTHORITIES         (15)    /* current max subauths */
     234#define SID_RECOMMENDED_SUB_AUTHORITIES (1)     /* recommended subauths */
     235
     236
     237/*
     238 * ACL
     239 */
     240
     241#define ACL_REVISION1 1
     242#define ACL_REVISION2 2
     243#define ACL_REVISION3 3
     244#define ACL_REVISION4 4
     245
     246typedef enum _ACL_INFORMATION_CLASS {
     247    AclRevisionInformation = 1,
     248    AclSizeInformation
     249} ACL_INFORMATION_CLASS;
     250
     251typedef struct _ACL_REVISION_INFORMATION {
     252    DWORD AclRevision;
     253} ACL_REVISION_INFORMATION;
     254typedef ACL_REVISION_INFORMATION *PACL_REVISION_INFORMATION;
     255
     256typedef struct _ACL_SIZE_INFORMATION {
     257    DWORD AceCount;
     258    DWORD AclBytesInUse;
     259    DWORD AclBytesFree;
     260} ACL_SIZE_INFORMATION;
     261typedef ACL_SIZE_INFORMATION *PACL_SIZE_INFORMATION;
     262
     263#define MIN_ACL_REVISION ACL_REVISION2
     264#define MAX_ACL_REVISION ACL_REVISION4
     265
     266typedef struct _ACL {
     267    BYTE AclRevision;
     268    BYTE Sbz1;
     269    WORD AclSize;
     270    WORD AceCount;
     271    WORD Sbz2;
     272} ACL, *PACL;
     273
     274
     275/* SECURITY_DESCRIPTOR */
     276#define SECURITY_DESCRIPTOR_REVISION    1
     277#define SECURITY_DESCRIPTOR_REVISION1   1
     278
     279
     280#define SE_OWNER_DEFAULTED      0x0001
     281#define SE_GROUP_DEFAULTED      0x0002
     282#define SE_DACL_PRESENT         0x0004
     283#define SE_DACL_DEFAULTED       0x0008
     284#define SE_SACL_PRESENT         0x0010
     285#define SE_SACL_DEFAULTED       0x0020
     286#define SE_SELF_RELATIVE        0x8000
     287
     288typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION;
     289typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
     290
     291/* The security descriptor structure */
     292typedef struct {
     293    BYTE Revision;
     294    BYTE Sbz1;
     295    SECURITY_DESCRIPTOR_CONTROL Control;
     296    DWORD Owner;
     297    DWORD Group;
     298    DWORD Sacl;
     299    DWORD Dacl;
     300} SECURITY_DESCRIPTOR_RELATIVE, *PISECURITY_DESCRIPTOR_RELATIVE;
     301
     302typedef struct {
     303    BYTE Revision;
     304    BYTE Sbz1;
     305    SECURITY_DESCRIPTOR_CONTROL Control;
     306    PSID Owner;
     307    PSID Group;
     308    PACL Sacl;
     309    PACL Dacl;
     310} SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR;
     311
     312#define SECURITY_DESCRIPTOR_MIN_LENGTH   (sizeof(SECURITY_DESCRIPTOR))
     313
     314#include "poppack.h"
     315
     316#endif /* _SECURITY_DEFINED */
     317
    200318#ifndef _ROTFLAGS_DEFINED
    201319#define _ROTFLAGS_DEFINED
Note: See TracChangeset for help on using the changeset viewer.