Yahoo! is your friend :-)

I've found enough information after some digging to get a test program
to compile (haven't tried running it yet); same for the ticksrv.cpp
example from the Boling book.

Ok to commit this ? (I guess I need to strip the comments about where I
got this info from though, to pass this on to the mingw people.)

        Danny


-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
Index: winioctl.h
===================================================================
--- winioctl.h	(revision 1047)
+++ winioctl.h	(working copy)
@@ -548,6 +548,23 @@
 	((t&PARTITION_NTFT)&&((t&~VALID_NTFT)==PARTITION_XINT13_EXTENDED))||\
 	((t&~PARTITION_NTFT)==PARTITION_EXTENDED)||\
 	((t&~PARTITION_NTFT)==PARTITION_XINT13_EXTENDED))
+
+#if defined(_WIN32_WCE)
+/* 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
+ */
+#define FILE_DEVICE_HAL		0x0101  
+#define FILE_DEVICE_CONSOLE	0x0102  
+#define FILE_DEVICE_PSL		0x0103  
+#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)
+#endif	/* _WIN32_WCE */
+
 #ifdef __cplusplus
 }
 #endif

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to