"Jones, Jeremy" wrote:
> Hello,
>
> Does anybody know how to decipher the numerical codes returned from a Win32
> system under the $flag field?
>
> for instance:
> =====================
> GetUsers("",$filter, \%names);
> $flag = "";
> foreach (keys %names) {
> UserGetAttributes("",
> $_,$pass,$passage,$priv,$homedir,$comment,$flag,$script);
> }
...
> ###What, for instance, does 513 mean? a list would be really cool...
My best guess is that $flags is not so much a numerical field as a bitfield. A lot of
the WinAPI flags use them. In this case you would want to look for the significance
of 512 [bit 9] and 1 [bit 0] in the context of theparticluar bitfield being passed in
flags. You need a WinAPI reference for this, probably.
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]