uLib  User mode C/C++ extended API library for Win32 programmers.
RC_STRING Struct Reference

#include <uLib/StrFunc.h>

Detailed Description

See DupResourceStrEx().

Counted string, suitable for GetResourceStr(). Example (C++):

RC_STRING rcStr;
rcStr.GetResource( hInstance, 123 );

Definition at line 247 of file StrFunc.h.

Public Data

WORD Length
 
WCSTR Text
 

Public Functions

 RC_STRING ()
 
 RC_STRING (HMODULE hModule, UINT Id)
 
WCSTR GetResource (HMODULE hModule, UINT Id)
 

Constructor & Destructor Documentation

◆ RC_STRING() [1/2]

RC_STRING::RC_STRING ( )
inline

Definition at line 253 of file StrFunc.h.

◆ RC_STRING() [2/2]

RC_STRING::RC_STRING ( HMODULE  hModule,
UINT  Id 
)
inline

Definition at line 254 of file StrFunc.h.

Member Function Documentation

◆ GetResource()

WCSTR RC_STRING::GetResource ( HMODULE  hModule,
UINT  Id 
)
inline

Definition at line 255 of file StrFunc.h.

Member Data Documentation

◆ Length

WORD RC_STRING::Length

Count of chars (not byte count).

Definition at line 249 of file StrFunc.h.

◆ Text

WCSTR RC_STRING::Text

Unicode read-only.

Definition at line 250 of file StrFunc.h.


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