This is stuff required to compile services. Information gathered from
http://nah6.com/~itsme/cvs-xdadevtools/dumprom/parsecrash.pl (list of
file_device_types),
http://msdn2.microsoft.com/en-us/library/aa914767.aspx ,
http://www.pocketpcjunkies.com/Uwe/Forum.aspx/pocketpc-dev/7975/IR-application-on-pocket-pc-2002

IOCTL_SERVICE_START : pocketpcjunkies
IOCTL_SERVICE_STOP : pocketpcjunkies
IOCTL_SERVICE_STATUS : pocketpcjunkies
CTL_CODE : pocketpcjunkies
FILE_DEVICE_SERVICE : pocketpcjunkies

IOCTL_SERVICE_CONNECTION - can be observed while trying to connect

Is it ok to commit this ?

        Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
Index: include/winioctl.h
===================================================================
--- include/winioctl.h	(revision 1061)
+++ include/winioctl.h	(working copy)
@@ -548,6 +548,20 @@
 	((t&PARTITION_NTFT)&&((t&~VALID_NTFT)==PARTITION_XINT13_EXTENDED))||\
 	((t&~PARTITION_NTFT)==PARTITION_EXTENDED)||\
 	((t&~PARTITION_NTFT)==PARTITION_XINT13_EXTENDED))
+
+#if defined(_WIN32_WCE)
+#define FILE_DEVICE_SERVICE	0x0104  
+
+#define IOCTL_SERVICE_START		\
+	CTL_CODE(FILE_DEVICE_SERVICE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
+#define IOCTL_SERVICE_STOP		\
+	CTL_CODE(FILE_DEVICE_SERVICE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
+#define IOCTL_SERVICE_STATUS		\
+	CTL_CODE(FILE_DEVICE_SERVICE, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
+#define IOCTL_SERVICE_CONNECTION	\
+	CTL_CODE(FILE_DEVICE_SERVICE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
+#endif	/* _WIN32_WCE */
+
 #ifdef __cplusplus
 }
 #endif
Index: ChangeLog.ce
===================================================================
--- ChangeLog.ce	(revision 1062)
+++ ChangeLog.ce	(working copy)
@@ -1,5 +1,11 @@
 2007-09-19  Danny Backx  <[EMAIL PROTECTED]>
 
+	* include/winioctl.h (IOCTL_SERVICE_START, IOCTL_SERVICE_STOP,
+	IOCTL_SERVICE_STATUS, IOCTL_SERVICE_CONNECTION, CTL_CODE,
+	FILE_DEVICE_SERVICE): New defines.
+
+2007-09-19  Danny Backx  <[EMAIL PROTECTED]>
+
 	* include/service.h (ServiceAddPort): Fix type of szRegWritePath
 	parameter, MSDN is wrong.
 	* include/service.h: Use 400, not 0x0400 to conditionally compile.

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to