mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Added file. Contains common serviceinfo structs.
svn path=/trunk/; revision=8181
This commit is contained in:
parent
d194919316
commit
7e4b6ff68a
1 changed files with 40 additions and 0 deletions
40
reactos/include/serviceinfo.h
Normal file
40
reactos/include/serviceinfo.h
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
#ifndef _SERVICE_INFO_H
|
||||||
|
#define _SERVICE_INFO_H
|
||||||
|
|
||||||
|
typedef struct _SERVICE_ADDRESS {
|
||||||
|
DWORD dwAddressType;
|
||||||
|
DWORD dwAddressFlags;
|
||||||
|
DWORD dwAddressLength;
|
||||||
|
DWORD dwPrincipalLength;
|
||||||
|
BYTE *lpAddress;
|
||||||
|
BYTE *lpPrincipal;
|
||||||
|
} SERVICE_ADDRESS;
|
||||||
|
typedef struct _SERVICE_ADDRESSES {
|
||||||
|
DWORD dwAddressCount;
|
||||||
|
SERVICE_ADDRESS Addresses[1];
|
||||||
|
} SERVICE_ADDRESSES, *PSERVICE_ADDRESSES, *LPSERVICE_ADDRESSES;
|
||||||
|
typedef struct _SERVICE_INFOA {
|
||||||
|
LPGUID lpServiceType;
|
||||||
|
LPSTR lpServiceName;
|
||||||
|
LPSTR lpComment;
|
||||||
|
LPSTR lpLocale;
|
||||||
|
DWORD dwDisplayHint;
|
||||||
|
DWORD dwVersion;
|
||||||
|
DWORD dwTime;
|
||||||
|
LPSTR lpMachineName;
|
||||||
|
LPSERVICE_ADDRESSES lpServiceAddress;
|
||||||
|
BLOB ServiceSpecificInfo;
|
||||||
|
} SERVICE_INFOA, *LPSERVICE_INFOA;
|
||||||
|
typedef struct _SERVICE_INFOW {
|
||||||
|
LPGUID lpServiceType;
|
||||||
|
LPWSTR lpServiceName;
|
||||||
|
LPWSTR lpComment;
|
||||||
|
LPWSTR lpLocale;
|
||||||
|
DWORD dwDisplayHint;
|
||||||
|
DWORD dwVersion;
|
||||||
|
DWORD dwTime;
|
||||||
|
LPWSTR lpMachineName;
|
||||||
|
LPSERVICE_ADDRESSES lpServiceAddress;
|
||||||
|
BLOB ServiceSpecificInfo;
|
||||||
|
} SERVICE_INFOW, *LPSERVICE_INFOW;
|
||||||
|
#endif/*SERVICE_INFO_H*/
|
Loading…
Reference in a new issue