windows-nt/Source/XPSP1/NT/enduser/speech/tools/spuser/spuser.h

49 lines
1.3 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/****************************************************************************
* spuser.h
* <put description here>
*
* Owner: cthrash
* Copyright <EFBFBD> 1999 Microsoft Corporation All Rights Reserved.
*****************************************************************************/
#pragma once
//--- Includes --------------------------------------------------------------
//--- TypeDef and Enumeration Declarations ----------------------------------
enum SearchOption_t
{
eSearchByName,
eSearchByLcid,
eHelp,
eNone
};
struct SearchArgument_t
{
CSpDynamicString dstrName;
LCID lcid;
};
struct NameValuePair
{
char * pszName;
LCID lcid;
};
//--- Forward and External Declarations -------------------------------------
SearchOption_t ParseCmdLine(LPSTR, SearchArgument_t *);
HRESULT ShowDefaultUser();
HRESULT SwitchDefaultUser(SearchOption_t, SearchArgument_t *);
void ShowUserName(WCHAR * pszName);
HRESULT Report(char * lpMsg, HRESULT hr);
//--- Constants -------------------------------------------------------------
//--- Class, Struct and Union Definitions -----------------------------------
//--- Function Declarations -------------------------------------------------
//--- Inline Function Definitions -------------------------------------------