//*************************************************************** // From the book "Win32 System Services: The Heart of Windows 98 // and Windows 2000" // by Marshall Brain // Published by Prentice Hall // // Copyright 1995, by Prentice Hall. // // This code implements the RPC server function. //*************************************************************** // ccrpc.cpp #include #include "ccrpc.h" #define NUM_ITERATIONS 64 short CalcColor(complex k) { complex z; double real, imag, spread; WORD iter; z.real=z.imag=0.0; for (iter=0; iter 4.0) break; } return(iter); }