ReactOS 0.4.15-dev-7693-gd0e2924
fff_handle Class Reference

#include <shellext.h>

Collaboration diagram for fff_handle:

Public Member Functions

 fff_handle ()
 
 fff_handle (HANDLE nh)
 
 ~fff_handle ()
 
 operator HANDLE () const
 
fff_handleoperator= (const HANDLE nh)
 
HANDLEoperator& ()
 

Private Attributes

HANDLE h = INVALID_HANDLE_VALUE
 

Detailed Description

Definition at line 268 of file shellext.h.

Constructor & Destructor Documentation

◆ fff_handle() [1/2]

fff_handle::fff_handle ( )
inline

Definition at line 270 of file shellext.h.

270 {
271#ifdef __REACTOS__
273#endif
274 }
#define INVALID_HANDLE_VALUE
Definition: compat.h:731
GLfloat GLfloat GLfloat GLfloat h
Definition: glext.h:7723

◆ fff_handle() [2/2]

fff_handle::fff_handle ( HANDLE  nh)
inline

Definition at line 276 of file shellext.h.

276 {
277 h = nh;
278 }

◆ ~fff_handle()

fff_handle::~fff_handle ( )
inline

Definition at line 280 of file shellext.h.

280 {
281 if (h != INVALID_HANDLE_VALUE)
282 FindClose(h);
283 }
BOOL WINAPI FindClose(HANDLE hFindFile)
Definition: find.c:502

Member Function Documentation

◆ operator HANDLE()

fff_handle::operator HANDLE ( ) const
inline

Definition at line 285 of file shellext.h.

285 {
286 return h;
287 }
HANDLE h
Definition: shellext.h:304

◆ operator&()

HANDLE * fff_handle::operator& ( )
inline

Definition at line 298 of file shellext.h.

298 {
299 return &h;
300 }

◆ operator=()

fff_handle & fff_handle::operator= ( const HANDLE  nh)
inline

Definition at line 289 of file shellext.h.

289 {
290 if (h != INVALID_HANDLE_VALUE)
291 FindClose(h);
292
293 h = nh;
294
295 return *this;
296 }

Member Data Documentation

◆ h

HANDLE fff_handle::h = INVALID_HANDLE_VALUE
private

Definition at line 304 of file shellext.h.

Referenced by operator HANDLE(), and operator&().


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