VirtualBox

Changeset 27346 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Mar 14, 2010 6:35:19 PM (15 years ago)
Author:
vboxsync
Message:

iprt: Added RTEnvQueryUtf16Block and RTEnvFreeUtf16Block as helpers for RTProcCreateEx on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/env.h

    r25942 r27346  
    8989RTDECL(char const * const *) RTEnvGetExecEnvP(RTENV Env);
    9090
     91/**
     92 * Get a sorted, UTF-16 environment block for CreateProcess.
     93 *
     94 * @returns IPRT status code.
     95 *
     96 * @param   hEnv            Environment block handle.
     97 * @param   ppwszzBlock     Where to return the environment block.  This must be
     98 *                          freed by calling RTEnvFreeUtf16Block.
     99 */
     100RTDECL(int) RTEnvQueryUtf16Block(RTENV hEnv, PRTUTF16 *ppwszzBlock);
     101
     102/**
     103 * Frees an environment block returned by RTEnvGetUtf16Block().
     104 *
     105 * @param   pwszzBlock      What RTEnvGetUtf16Block returned.  NULL is ignored.
     106 */
     107RTDECL(void) RTEnvFreeUtf16Block(PRTUTF16 pwszzBlock);
    91108
    92109/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette