Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32profile
>
CreateEnvironmentBlock
win32profile
.CreateEnvironmentBlock
dict =
CreateEnvironmentBlock(
Token
, Inherit
)
Retrieves environment variables for a user
Parameters
Token
:
PyHANDLE
User token as returned by
win32security::LogonUser
, use None to retrieve system variables only
Inherit
: boolean
Indicates if environment of current process should be inherited