* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS hive maker
ValueName,
0,
REG_MULTI_SZ,
- (PCHAR)Buffer,
+ (PUCHAR)Buffer,
(ULONG)Total);
}
{
ULONG dw = Str ? strtoul (Str, NULL, 0) : 0;
- DPRINT("setting dword %s to %lx\n", ValueName, dw);
+ DPRINT("setting dword %s to %x\n", ValueName, dw);
RegSetValueExA (
KeyHandle,
}
else /* get the binary data */
{
- PCHAR Data = NULL;
+ PUCHAR Data = NULL;
if (InfHostGetBinaryField (Context, 5, NULL, 0, &Size) != 0)
Size = 0;
if (Data == NULL)
return FALSE;
- DPRINT("setting binary data %s len %lu\n", ValueName, Size);
- InfHostGetBinaryField (Context, 5, Data, (ULONG)Size, NULL);
+ DPRINT("setting binary data %s len %d\n", ValueName, Size);
+ InfHostGetBinaryField (Context, 5, Data, Size, NULL);
}
RegSetValueExA (
else
{
/* get flags */
- if (InfHostGetIntField (Context, 4, (PLONG)&Flags) != 0)
+ if (InfHostGetIntField (Context, 4, &Flags) != 0)
Flags = 0;
}
- DPRINT("Flags: %lx\n", Flags);
+ DPRINT("Flags: 0x%x\n", Flags);
if (Delete || (Flags & FLG_ADDREG_OVERWRITEONLY))
{