From 7e4b6ff68a120aac783e4ec0880dbada3a5e9ba7 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Sun, 15 Feb 2004 02:40:25 +0000 Subject: [PATCH] Added file. Contains common serviceinfo structs. svn path=/trunk/; revision=8181 --- reactos/include/serviceinfo.h | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 reactos/include/serviceinfo.h diff --git a/reactos/include/serviceinfo.h b/reactos/include/serviceinfo.h new file mode 100644 index 00000000000..49a54a9efeb --- /dev/null +++ b/reactos/include/serviceinfo.h @@ -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*/