Export (0) Print
Expand All

ISyncSchedule::GetAccountInformation method

[The ISyncSchedule::GetAccountInformation method is available for use through Windows XP. It is not available in subsequent versions of Windows.]

Gets the user name of the account associated with the schedule.

Syntax


HRESULT GetAccountInformation(
  [in, out]  DWORD *pcbSize,
  [out]      LPWSTR pwszAccountName
);

Parameters

pcbSize [in, out]

Type: DWORD*

A pointer to the size, in bytes, of pwszAccountName. On entry, it is the size of the buffer you provide. On exit, it is the size of the retrieved string.

pwszAccountName [out]

Type: LPWSTR

A pointer to a buffer that receives the user name.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Syncmgr.h

IDL

Syncmgr.idl

DLL

Mobsync.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft