Note that P should be valid & hnd should already have space
*******************************************************************/
-static BOOL close_registry_key(pipes_struct *p, POLICY_HND *hnd)
+static bool close_registry_key(pipes_struct *p, POLICY_HND *hnd)
{
struct registry_key *regkey = find_regkey_by_hnd(p, hnd);
uint32_t outbuf_size;
DATA_BLOB val_blob;
- BOOL free_buf = False;
- BOOL free_prs = False;
+ bool free_buf = False;
+ bool free_prs = False;
if ( !regkey )
return WERR_BADFID;
fstring reboot;
fstring f;
int ret;
- BOOL can_shutdown;
+ bool can_shutdown;
pstrcpy(shutdown_script, lp_shutdown_script());
{
pstring abort_shutdown_script;
int ret;
- BOOL can_shutdown;
+ bool can_shutdown;
pstrcpy(abort_shutdown_script, lp_abort_shutdown_script());