ReactOS  0.4.14-dev-552-g2fad488
StrRetW Struct Reference

easy retrieval of wide char strings out of STRRET structures More...

#include <shellclasses.h>

Inheritance diagram for StrRetW:
Collaboration diagram for StrRetW:

Public Member Functions

 ~StrRetW ()
 
void GetString (const SHITEMID &shiid, LPWSTR b, int l)
 

Additional Inherited Members

- Public Attributes inherited from _STRRET
UINT uType
 
union {
   LPWSTR   pOleStr
 
   UINT   uOffset
 
   char   cStr [MAX_PATH]
 
DUMMYUNIONNAME
 

Detailed Description

easy retrieval of wide char strings out of STRRET structures

Definition at line 905 of file shellclasses.h.

Constructor & Destructor Documentation

◆ ~StrRetW()

StrRetW::~StrRetW ( )
inline

Definition at line 907 of file shellclasses.h.

908  {
909  if (uType == STRRET_WSTR)
911  }
void Free([in] LPVOID pv)
LPWSTR pOleStr
Definition: shtypes.idl:96
UINT uType
Definition: shtypes.idl:93
wrapper class for IMalloc with usage of common allocator
Definition: shellclasses.h:252

Member Function Documentation

◆ GetString()

void StrRetW::GetString ( const SHITEMID shiid,
LPWSTR  b,
int  l 
)
inline

Definition at line 913 of file shellclasses.h.

914  {
915  switch(uType) {
916  case STRRET_WSTR:
918  break;
919 
920  case STRRET_OFFSET:
922  break;
923 
924  case STRRET_CSTR:
926  }
927  }
#define CP_ACP
Definition: compat.h:99
LPWSTR pOleStr
Definition: shtypes.idl:96
#define lstrcpynW
Definition: compat.h:405
char cStr[MAX_PATH]
Definition: shtypes.idl:98
#define UNION_MEMBER(x)
Definition: shellclasses.h:861
const char * LPCSTR
Definition: xmlstorage.h:183
r l[0]
Definition: byte_order.h:167
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
UINT uOffset
Definition: shtypes.idl:97
#define MultiByteToWideChar
Definition: compat.h:100
UINT uType
Definition: shtypes.idl:93

The documentation for this struct was generated from the following file: