ReactOS 0.4.15-dev-7958-gcd0bb1a
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)
@ STRRET_WSTR
Definition: shtypes.idl:85
wrapper class for IMalloc with usage of common allocator
Definition: shellclasses.h:253
UINT uType
Definition: shtypes.idl:93
LPWSTR pOleStr
Definition: shtypes.idl:96

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 }
r l[0]
Definition: byte_order.h:168
#define CP_ACP
Definition: compat.h:109
#define MultiByteToWideChar
Definition: compat.h:110
#define lstrcpynW
Definition: compat.h:738
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
#define UNION_MEMBER(x)
Definition: shellclasses.h:861
@ STRRET_CSTR
Definition: shtypes.idl:87
@ STRRET_OFFSET
Definition: shtypes.idl:86
char cStr[MAX_PATH]
Definition: shtypes.idl:98
UINT uOffset
Definition: shtypes.idl:97
const char * LPCSTR
Definition: xmlstorage.h:183

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