Public Member Functions

StrRetA Struct Reference

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

#include <shellclasses.h>

Inheritance diagram for StrRetA:
Inheritance graph
Collaboration diagram for StrRetA:
Collaboration graph

List of all members.

Public Member Functions

 ~StrRetA ()
void GetString (const SHITEMID &shiid, LPSTR b, int l)

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 (  ) [inline]

Definition at line 881 of file shellclasses.h.

        if (uType == STRRET_WSTR)

Member Function Documentation

void StrRetA::GetString ( const SHITEMID &  shiid,
int  l 
) [inline]

Definition at line 887 of file shellclasses.h.

References UNION_MEMBER.

Referenced by path_from_pidlA().

        switch(uType) {
          case STRRET_WSTR:
            WideCharToMultiByte(CP_ACP, 0, UNION_MEMBER(pOleStr), -1, b, l, NULL, NULL);

          case STRRET_OFFSET:
            lstrcpynA(b, (LPCSTR)&shiid+UNION_MEMBER(uOffset), l);

          case STRRET_CSTR:
            lstrcpynA(b, UNION_MEMBER(cStr), l);

Here is the caller graph for this function:

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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage