MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / MRU_Create

Function MRU_Create

src/Helpers.c:1467–1475  ·  view source on GitHub ↗

============================================================================= MRU functions

Source from the content-addressed store, hash-verified

1465// MRU functions
1466//
1467LPMRULIST MRU_Create ( LPCWSTR pszRegKey, int iFlags, int iSize )
1468{
1469 LPMRULIST pmru = LocalAlloc ( LPTR, sizeof ( MRULIST ) );
1470 ZeroMemory ( pmru, sizeof ( MRULIST ) );
1471 lstrcpyn ( pmru->szRegKey, pszRegKey, COUNTOF ( pmru->szRegKey ) );
1472 pmru->iFlags = iFlags;
1473 pmru->iSize = min ( iSize, MRU_MAXITEMS );
1474 return ( pmru );
1475}
1476
1477BOOL MRU_Destroy ( LPMRULIST pmru )
1478{

Callers 4

MRU_DeleteFileFromStoreFunction · 0.85
MRU_MergeSaveFunction · 0.85
HL_OpenMRU_LastFunction · 0.85
MsgCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected