adding extensions to php really requires you to study the zend api and macros. really there are macros for everything . this means that any existing C code you have is going to have be modified very heavily. i suggest tobais raschiller's (sp?) book and online tutorial (the book is put out by new riders and the tutorial is, i believe, available at phpwizards.
i don't know anything about windows....
-frymaster