Process Hacker
cpysave.c File Reference
#include <phgui.h>
#include <treenew.h>
#include <cpysave.h>

Go to the source code of this file.

Macros

#define TAB_SIZE   8
 

Functions

VOID PhpEscapeStringForCsv (_Inout_ PPH_STRING_BUILDER StringBuilder, _In_ PPH_STRING String)
 
VOID PhaCreateTextTable (_Out_ PPH_STRING ***Table, _In_ ULONG Rows, _In_ ULONG Columns)
 Allocates a text table.
 
PPH_LIST PhaFormatTextTable (_In_ PPH_STRING **Table, _In_ ULONG Rows, _In_ ULONG Columns, _In_ ULONG Mode)
 Formats a text table to a list of lines.
 
VOID PhMapDisplayIndexTreeNew (_In_ HWND TreeNewHandle, _Out_opt_ PULONG *DisplayToId, _Out_opt_ PWSTR **DisplayToText, _Out_ PULONG NumberOfColumns)
 
PPH_STRING PhGetTreeNewText (_In_ HWND TreeNewHandle, _Reserved_ ULONG Reserved)
 
PPH_LIST PhGetGenericTreeNewLines (_In_ HWND TreeNewHandle, _In_ ULONG Mode)
 
VOID PhaMapDisplayIndexListView (_In_ HWND ListViewHandle, _Out_writes_(Count) PULONG DisplayToId, _Out_writes_opt_(Count) PPH_STRING *DisplayToText, _In_ ULONG Count, _Out_ PULONG NumberOfColumns)
 
PPH_STRING PhaGetListViewItemText (_In_ HWND ListViewHandle, _In_ INT Index, _In_ INT SubItemIndex)
 
PPH_STRING PhGetListViewText (_In_ HWND ListViewHandle)
 
PPH_LIST PhGetListViewLines (_In_ HWND ListViewHandle, _In_ ULONG Mode)
 

Macro Definition Documentation

#define TAB_SIZE   8

Definition at line 27 of file cpysave.c.

Function Documentation

VOID PhaCreateTextTable ( _Out_ PPH_STRING ***  Table,
_In_ ULONG  Rows,
_In_ ULONG  Columns 
)

Allocates a text table.

Parameters
TableA variable which receives a pointer to the text table.
RowsThe number of rows in the table.
ColumnsThe number of columns in the table.

Definition at line 82 of file cpysave.c.

PPH_LIST PhaFormatTextTable ( _In_ PPH_STRING **  Table,
_In_ ULONG  Rows,
_In_ ULONG  Columns,
_In_ ULONG  Mode 
)

Formats a text table to a list of lines.

Parameters
TableA pointer to the text table.
RowsThe number of rows in the table.
ColumnsThe number of columns in the table.
ModeThe export formatting mode.
Returns
A list of strings for each line in the output. The list object and string objects are not auto-dereferenced.

Definition at line 113 of file cpysave.c.

PPH_STRING PhaGetListViewItemText ( _In_ HWND  ListViewHandle,
_In_ INT  Index,
_In_ INT  SubItemIndex 
)

Definition at line 446 of file cpysave.c.

VOID PhaMapDisplayIndexListView ( _In_ HWND  ListViewHandle,
_Out_writes_(Count) PULONG  DisplayToId,
_Out_writes_opt_(Count) PPH_STRING DisplayToText,
_In_ ULONG  Count,
_Out_ PULONG  NumberOfColumns 
)

Definition at line 404 of file cpysave.c.

PPH_LIST PhGetGenericTreeNewLines ( _In_ HWND  TreeNewHandle,
_In_ ULONG  Mode 
)

Definition at line 337 of file cpysave.c.

PPH_LIST PhGetListViewLines ( _In_ HWND  ListViewHandle,
_In_ ULONG  Mode 
)

Definition at line 528 of file cpysave.c.

PPH_STRING PhGetListViewText ( _In_ HWND  ListViewHandle)

Definition at line 486 of file cpysave.c.

PPH_STRING PhGetTreeNewText ( _In_ HWND  TreeNewHandle,
_Reserved_ ULONG  Reserved 
)

Definition at line 288 of file cpysave.c.

VOID PhMapDisplayIndexTreeNew ( _In_ HWND  TreeNewHandle,
_Out_opt_ PULONG *  DisplayToId,
_Out_opt_ PWSTR **  DisplayToText,
_Out_ PULONG  NumberOfColumns 
)

Definition at line 236 of file cpysave.c.

VOID PhpEscapeStringForCsv ( _Inout_ PPH_STRING_BUILDER  StringBuilder,
_In_ PPH_STRING  String 
)

Definition at line 29 of file cpysave.c.