ReactOS 0.4.16-dev-340-g0540c21
StrRetA Struct Reference

easy retrieval of multi byte strings out of STRRET structures More...

#include <shellclasses.h>

Inheritance diagram for StrRetA:
Collaboration diagram for StrRetA:

Public Member Functions

 ~StrRetA ()
 
void GetString (const SHITEMID &shiid, LPSTR 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 multi byte strings out of STRRET structures

Definition at line 879 of file shellclasses.h.

Constructor & Destructor Documentation

◆ ~StrRetA()

StrRetA::~StrRetA ( )
inline

Definition at line 881 of file shellclasses.h.

882 {
883 if (uType == STRRET_WSTR)
885 }
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 StrRetA::GetString ( const SHITEMID shiid,
LPSTR  b,
int  l 
)
inline

Definition at line 887 of file shellclasses.h.

888 {
889 switch(uType) {
890 case STRRET_WSTR:
892 break;
893
894 case STRRET_OFFSET:
896 break;
897
898 case STRRET_CSTR:
900 }
901 }
r l[0]
Definition: byte_order.h:168
#define NULL
Definition: types.h:112
#define CP_ACP
Definition: compat.h:109
#define lstrcpynA
Definition: compat.h:751
#define WideCharToMultiByte
Definition: compat.h:111
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: