my_string.h

来自「pppoe在windows实现的miniport驱动源代码」· C头文件 代码 · 共 29 行

H
29
字号
/*
    MikroTik PPPoE - MikroTik PPP over Ethernet client for Windows
    Copyright (C),  2001  MikroTikls

    The contents of this program are subject to the Mozilla Public License 
    Version 1.1; you may not use this program except in compliance with the 
    License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 

    
    http://www.mikrotik.com
    mt@mt.lv
*/


#ifndef __MY_STRING_H__
#define __MY_STRING_H__

#include "my.h"

int ReplaceString(PUCHAR str, PUCHAR keyword);
int HasSubstring(PUCHAR str, PUCHAR keyword);
void PrintUnicodeStr(PNDIS_STRING str);
void CopyUnicodeStr(PNDIS_STRING str, char* buf);

void UnicodeFromWideBuffer(PNDIS_STRING str, WCHAR *buf);

int MyMemCmp(PVOID p1, PVOID p2, UINT len);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?